Closed verdel closed 2 years ago
In v0.3.0 the behavior of the --ignored-images flag has been changed to regex matching.
--ignored-images
But in for loop continue statement is applied to the loop with an array of regex expressions, not for loop of images.
continue
https://github.com/deckhouse/k8s-image-availability-exporter/blob/62ab8893143fd4d434d48a7ac8ae6df782c92a5e/pkg/registry_checker/checker.go#L205-L210
As a result, regex expressions are actually ignored.
In v0.3.0 the behavior of the
--ignored-images
flag has been changed to regex matching.But in for loop
continue
statement is applied to the loop with an array of regex expressions, not for loop of images.https://github.com/deckhouse/k8s-image-availability-exporter/blob/62ab8893143fd4d434d48a7ac8ae6df782c92a5e/pkg/registry_checker/checker.go#L205-L210
As a result, regex expressions are actually ignored.