We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 358c329 commit d6c1709Copy full SHA for d6c1709
main.go
@@ -66,9 +66,11 @@ func main() {
66
prometheus.MustRegister(liveTicksCounter)
67
68
var regexes []regexp.Regexp
69
- regexStrings := strings.Split(*ignoredImagesStr, "~")
70
- for _, regexStr := range regexStrings {
71
- regexes = append(regexes, *regexp.MustCompile(regexStr))
+ if *ignoredImagesStr != "" {
+ regexStrings := strings.Split(*ignoredImagesStr, "~")
+ for _, regexStr := range regexStrings {
72
+ regexes = append(regexes, *regexp.MustCompile(regexStr))
73
+ }
74
}
75
76
registryChecker := registry_checker.NewRegistryChecker(
0 commit comments