Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[filebeat] Fix long filepaths in diagnostics exceeding max path limits on Windows #40909

Merged
6 changes: 3 additions & 3 deletions x-pack/filebeat/input/entityanalytics/provider/okta/okta.go
aleksmaus marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ func (p *oktaInput) doFetchUsers(ctx context.Context, state *stateStore, fullSyn

next, err := okta.Next(h)
if err != nil {
if err == io.EOF {
if errors.Is(err, io.EOF) {
break
}
p.logger.Debugf("received %d users from API", len(users))
Expand Down Expand Up @@ -588,7 +588,7 @@ func (p *oktaInput) doFetchDevices(ctx context.Context, state *stateStore, fullS

next, err := okta.Next(h)
if err != nil {
if err == io.EOF {
if errors.Is(err, io.EOF) {
break
}
p.logger.Debugf("received %d devices from API", len(devices))
Expand Down Expand Up @@ -617,7 +617,7 @@ func (p *oktaInput) doFetchDevices(ctx context.Context, state *stateStore, fullS

next, err := okta.Next(h)
if err != nil {
if err == io.EOF {
if errors.Is(err, io.EOF) {
break
}
p.logger.Debugf("received %d devices from API", len(devices))
Expand Down
Loading