From 954b9826c16d49c8d83be790278d95df85f46c4b Mon Sep 17 00:00:00 2001 From: Simar Date: Sat, 2 Nov 2024 00:31:12 -0600 Subject: [PATCH] update assertion --- scripts/verify-bundle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/verify-bundle.go b/scripts/verify-bundle.go index e3946c3c..7607bc94 100644 --- a/scripts/verify-bundle.go +++ b/scripts/verify-bundle.go @@ -137,7 +137,7 @@ func LoadAndVerifyBundle() { trivyC := createTrivyContainer(ctx, trivyVersion, regIP) fmt.Println(debugLogsForContainer(ctx, trivyC)) - if !assertInLogs(debugLogsForContainer(ctx, trivyC), `Tests: 1 (SUCCESSES: 0, FAILURES: 1, EXCEPTIONS: 0)`) { + if !assertInLogs(debugLogsForContainer(ctx, trivyC), `Tests: 1 (SUCCESSES: 0, FAILURES: 1)`) { panic("asserting Trivy logs for misconfigurations failed, check Trivy log output") }