Skip to content

Commit c0ef9f4

Browse files
authored
Merge pull request #5747 from chrischdi/pr-fix-panic-e2e
🌱 e2e: fix panic when dumping CloudTrail logs
2 parents 42b4f94 + 694e191 commit c0ef9f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/e2e/shared/aws.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -919,6 +919,7 @@ func DumpCloudTrailEvents(e2eCtx *E2EContext) {
919919
page, err := paginator.NextPage(context.TODO())
920920
if err != nil {
921921
fmt.Fprintf(GinkgoWriter, "Couldn't get AWS CloudTrail events: err=%v\n", err)
922+
break
922923
}
923924
events = append(events, page.Events...)
924925
}

0 commit comments

Comments
 (0)