mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-03 13:21:32 +02:00
From Golang 1.13 release notes: Testing flags are now registered in the new Init function, which is invoked by the generated main function for the test. As a result, testing flags are now only registered when running a test binary, and packages that call flag.Parse during package initialization may cause tests to fail.