Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
cloudwatch_test fixed for inverted pagination boolean.
Browse files Browse the repository at this point in the history
  • Loading branch information
pda committed May 13, 2021
1 parent 7a236e3 commit 018e2e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/cloudwatch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func (cw *mockCloudWatchLogs) FilterLogEventsPages(input *cloudwatchlogs.FilterL
output.Events = append(output.Events, e)
}

if fn(output, len(cw.filterLogEvents) == 0) {
if !fn(output, len(cw.filterLogEvents) == 0) {
cw.Unlock()
return nil
}
Expand Down

0 comments on commit 018e2e1

Please sign in to comment.