Skip to content

Commit

Permalink
climc: lblistener-create: make --scheduler an optional arg
Browse files Browse the repository at this point in the history
  • Loading branch information
yousong committed Jun 2, 2020
1 parent 4739323 commit ea8cd6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/mcclient/options/loadbalancerlisteners.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type LoadbalancerListenerCreateOptions struct {
BackendServerPort *int
BackendGroup *string `json:",allowempty"`

Scheduler string `required:"true" choices:"rr|wrr|wlc|sch|tch"`
Scheduler string `choices:"rr|wrr|wlc|sch|tch"`

SendProxy string `choices:"off|v1|v2|v2-ssl|v2-ssl-cn"`

Expand Down

0 comments on commit ea8cd6d

Please sign in to comment.