mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 01:50:55 +00:00
fix the missing fields in all edit commands
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user