make fullyLabeledReplicas optional in rc and rs status

This commit is contained in:
Chao Xu
2016-03-15 13:33:37 -07:00
parent 4b3e2b57ac
commit 9bdd30fdf1
12 changed files with 90 additions and 64 deletions

View File

@@ -1381,7 +1381,7 @@ type ReplicationControllerStatus struct {
Replicas int `json:"replicas"`
// The number of pods that have labels matching the labels of the pod template of the replication controller.
FullyLabeledReplicas int `json:"fullyLabeledReplicas"`
FullyLabeledReplicas int `json:"fullyLabeledReplicas,omitempty"`
// ObservedGeneration is the most recent generation observed by the controller.
ObservedGeneration int64 `json:"observedGeneration,omitempty"`