chore: fix dependabot alerts (#2431)

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
Andrei Aaron
2024-05-28 00:37:27 +03:00
committed by GitHub
parent 5ae7a028d9
commit 2bb46b0562
13 changed files with 352 additions and 293 deletions
+1 -1
View File
@@ -506,7 +506,7 @@ func TestConfigReloader(t *testing.T) {
So(string(data), ShouldContainSubstring, "\"DBRepository\":\"another/unreachable/trivy/url2\"")
// matching log message when it errors out, test that indeed the download will try the second url
found, err = test.ReadLogFileAndSearchString(logFile.Name(),
"\"dbRepository\":\"another/unreachable/trivy/url2\",\"goroutine", 1*time.Minute)
"\"dbRepository\":\"index.docker.io/another/unreachable/trivy/url2:2\",\"goroutine", 1*time.Minute)
So(err, ShouldBeNil)
So(found, ShouldBeTrue)
})