Skip to content

Commit f989af9

Browse files
authored
Merge pull request #55 from hex108/omit
Do not omit .spec.Replicas because it will be ommited when it is spec…
2 parents 7b59ba9 + 32c5d86 commit f989af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/apis/tappcontroller/v1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ type TAppSpec struct {
5555
// Replicas is the desired number of replicas of the given Template.
5656
// These are replicas in the sense that they are instantiations of the
5757
// same Template, but individual replicas also have a consistent identity.
58-
Replicas int32 `json:"replicas,omitempty"`
58+
Replicas int32 `json:"replicas"`
5959

6060
// Selector is a label query over pods that should match the replica count.
6161
// If empty, defaulted to labels on the pod template.

0 commit comments

Comments
 (0)