Skip to content

Commit

Permalink
lblistener: rename filter name certificate{,_id}
Browse files Browse the repository at this point in the history
Previously we accept both, now with structured input we'd better choose
one and ignore the other.  Use certificate_id because that's the
console's choice
  • Loading branch information
yousong committed Jun 15, 2020
1 parent f4b7044 commit 0f953b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/apis/compute/loadbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type LoadbalancerListenerListInput struct {

Scheduler []string `json:"scheduler"`

Certificate []string `json:"certificate"`
Certificate []string `json:"certificate_id"`

SendProxy []string `json:"send_proxy"`

Expand Down
2 changes: 1 addition & 1 deletion pkg/mcclient/options/loadbalancerlisteners.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ type LoadbalancerListenerListOptions struct {
XForwardedFor string `choices:"true|false"`
Gzip string `choices:"true|false"`

Certificate string
Certificate string `json:"certificate_id"`
TLSCipherPolicy string
EnableHttp2 string `choices:"true|false"`

Expand Down

0 comments on commit 0f953b8

Please sign in to comment.