Fix other linters on modified lines

This commit is contained in:
Katrina Verey
2022-08-10 18:50:28 -04:00
parent f6b72077c8
commit 55a37de686
10 changed files with 19 additions and 11 deletions

View File

@@ -55,8 +55,9 @@ func (r *InitRunner) runE(c *cobra.Command, args []string) error {
return errors.Errorf("directory already initialized with a Krmfile")
}
return os.WriteFile(filename, []byte(strings.TrimSpace(`
err := os.WriteFile(filename, []byte(strings.TrimSpace(`
apiVersion: config.k8s.io/v1alpha1
kind: Krmfile
`)), 0600)
return errors.Wrap(err)
}