Merge pull request #866 from yujunz/edit-fix

Fix error message
This commit is contained in:
Kubernetes Prow Robot
2019-03-11 10:13:28 -07:00
committed by GitHub

View File

@@ -30,7 +30,7 @@ func NewCmdFix(fSys fs.FileSystem) *cobra.Command {
Long: "",
Example: `
# Fix the missing and deprecated fields in kustomization file
kustomize fix
kustomize edit fix
`,
RunE: func(cmd *cobra.Command, args []string) error {
@@ -40,6 +40,7 @@ func NewCmdFix(fSys fs.FileSystem) *cobra.Command {
return cmd
}
// RunFix runs `fix` command
func RunFix(fSys fs.FileSystem) error {
mf, err := kustfile.NewKustomizationFile(fSys)
if err != nil {