Skip to content

Commit 9ace0a2

Browse files
Update pkg/app/server.go
Co-authored-by: Pranshu Srivastava <[email protected]>
1 parent 2156ca5 commit 9ace0a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/app/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ func RunKubeStateMetrics(ctx context.Context, opts *options.Options) error {
128128
got := options.GetConfigFile(*opts)
129129
if got != "" {
130130
if _, err := os.Stat(filepath.Clean(got)); err != nil {
131-
klog.ErrorS(err, "config file does not exist, ignoring", "file", got)
131+
klog.ErrorS(err, "encountered error while processing the file", "file", got)
132132
} else {
133133
configFile, err := os.ReadFile(filepath.Clean(got))
134134
if err != nil {

0 commit comments

Comments
 (0)