Skip to content

Commit edc3252

Browse files
Merge branch 'rashmi/ksm-cfg' of https://github.com/rashmichandrashekar/kube-state-metrics into rashmi/ksm-cfg
2 parents 8e259e4 + a6a05c4 commit edc3252

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/wrapper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func RunKubeStateMetricsWrapper(opts *options.Options) {
5353
if errors.Is(err, viper.ConfigFileNotFoundError{}) {
5454
klog.InfoS("Options configuration file not found at startup", "file", file)
5555
} else if _, err = os.Stat(filepath.Clean(file)); os.IsNotExist(err) {
56-
// Adding this check in addition to the above since viper.ConfigFileNotFoundError is not working as expected due to this issue -
56+
// TODO: Remove this check once viper.ConfigFileNotFoundError is working as expected, see this issue -
5757
// https://github.com/spf13/viper/issues/1783
5858
klog.InfoS("Options configuration file not found at startup", "file", file)
5959
} else {

0 commit comments

Comments
 (0)