Skip to content

Commit

Permalink
Merge pull request #55 from hex108/omit
Browse files Browse the repository at this point in the history
Do not omit .spec.Replicas because it will be ommited when it is spec…
  • Loading branch information
hex108 authored Sep 23, 2020
2 parents 7b59ba9 + 32c5d86 commit f989af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apis/tappcontroller/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ type TAppSpec struct {
// Replicas is the desired number of replicas of the given Template.
// These are replicas in the sense that they are instantiations of the
// same Template, but individual replicas also have a consistent identity.
Replicas int32 `json:"replicas,omitempty"`
Replicas int32 `json:"replicas"`

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

0 comments on commit f989af9

Please sign in to comment.