Merge pull request #1487 from laverya/properly-omitempty-kustomization-inventory

properly omitempty for 'inventory' in 'kustomize'
This commit is contained in:
Kubernetes Prow Robot
2019-08-29 15:17:00 -07:00
committed by GitHub

View File

@@ -139,7 +139,7 @@ type Kustomization struct {
// Inventory appends an object that contains the record
// of all other objects, which can be used in apply, prune and delete
Inventory *Inventory `json:"inventory,omitempty" yaml:"inventory:omitempty"`
Inventory *Inventory `json:"inventory,omitempty" yaml:"inventory,omitempty"`
}
//go:generate stringer -type=GarbagePolicy