mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 00:52:55 +00:00
Merge pull request #1639 from dbachrach/b-zero-replica-formatting
Fix yaml formatting of replicas count when count is 0
This commit is contained in:
@@ -12,5 +12,5 @@ type Replica struct {
|
|||||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||||
|
|
||||||
// The number of replicas required.
|
// The number of replicas required.
|
||||||
Count int64 `json:"count,omitempty" yaml:"count,omitempty"`
|
Count int64 `json:"count" yaml:"count"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user