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

This commit is contained in:
Quan TRAN 2021-03-23 08:27:51 +01:00 committed by GitHub
parent 95759958b5
commit b7d6639b25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1027,7 +1027,7 @@ func (a *App) findDesiredStateFiles(specifiedPath string, opts LoadOpts) ([]stri
} else if defaultFile != "" { } else if defaultFile != "" {
return []string{defaultFile}, nil return []string{defaultFile}, nil
} else { } 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)
} }
} }