lblistener: rename filter name certificate{,_id}

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
This commit is contained in:
Yousong Zhou
2020-06-15 11:03:31 +08:00
parent 9fd612c5ac
commit 6a10d8a66a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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"`
@@ -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"`