mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-01 15:07:17 +08:00
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:
@@ -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"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user