(fix) remove usage of charts.yaml in error message (#1732)

This commit is contained in:
Quan TRAN
2021-03-23 16:27:51 +09:00
committed by GitHub
parent 95759958b5
commit b7d6639b25
+1 -1
View File
@@ -1027,7 +1027,7 @@ func (a *App) findDesiredStateFiles(specifiedPath string, opts LoadOpts) ([]stri
} else if defaultFile != "" {
return []string{defaultFile}, nil
} else {
return []string{}, fmt.Errorf("no state file found. It must be named %s/*.{yaml,yml}, %s, or %s, or otherwise specified with the --file flag", DefaultHelmfileDirectory, DefaultHelmfile, DeprecatedHelmfile)
return []string{}, fmt.Errorf("no state file found. It must be named %s/*.{yaml,yml} or %s, otherwise specified with the --file flag", DefaultHelmfileDirectory, DefaultHelmfile)
}
}