Skip to content

Commit 694e191

Browse files
committed
e2e: fix panic when dumping CloudTrail logs
1 parent 42b4f94 commit 694e191

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)