mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-14 10:30:59 +00:00
Fix cluster of silly Go nits.
This commit is contained in:
@@ -82,7 +82,7 @@ func (mf *kustomizationFile) read() (*types.Kustomization, error) {
|
||||
|
||||
func (mf *kustomizationFile) write(kustomization *types.Kustomization) error {
|
||||
if kustomization == nil {
|
||||
return errors.New("util: kustomization file arg is nil.")
|
||||
return errors.New("util: kustomization file arg is nil")
|
||||
}
|
||||
bytes, err := yaml.Marshal(kustomization)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user