Skip to content

Commit

Permalink
Revert some more changes made for the linter.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisberkhout committed Dec 4, 2024
1 parent 5066f31 commit 350cf46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x-pack/filebeat/input/entityanalytics/provider/okta/okta.go
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 errors.Is(err, io.EOF) {
if err == io.EOF {
break
}
p.logger.Debugf("received %d users from API", len(users))
Expand Down Expand Up @@ -615,7 +615,7 @@ func (p *oktaInput) doFetchDevices(ctx context.Context, state *stateStore, fullS

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

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

0 comments on commit 350cf46

Please sign in to comment.