fix the missing fields in all edit commands

This commit is contained in:
Jingfang Liu
2018-12-14 13:11:04 -08:00
parent f7414fec08
commit d0e4db74b7
3 changed files with 8 additions and 1 deletions

View File

@@ -160,7 +160,7 @@ func (k *Kustomization) DealWithMissingFields() []string {
}
if k.Kind == "" {
k.Kind = KustomizationKind
msgs = append(msgs, "Fixed the missing field by adding apiKind: "+KustomizationKind)
msgs = append(msgs, "Fixed the missing field by adding kind: "+KustomizationKind)
}
return msgs
}