mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 08:20:59 +00:00
FIx yaml formatting of replicas count when count is 0
Previously, a count of 0 would cause the count field to be omitted from the yaml
This commit is contained in:
@@ -12,5 +12,5 @@ type Replica struct {
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
|
||||
// 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