From 4550229a840957dece2f9ba4ee81dd65f4ef895c Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Sat, 13 Apr 2019 16:59:09 +0800 Subject: [PATCH] lb: https: allow change certificate (#378) --- pkg/compute/models/loadbalancerlisteners.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/compute/models/loadbalancerlisteners.go b/pkg/compute/models/loadbalancerlisteners.go index 12b79e1fe8..38b04601dc 100644 --- a/pkg/compute/models/loadbalancerlisteners.go +++ b/pkg/compute/models/loadbalancerlisteners.go @@ -96,9 +96,9 @@ type SLoadbalancerHTTPListener struct { // - Use certificate for tcp listener // - Customize ciphers? type SLoadbalancerHTTPSListener struct { - CertificateId string `width:"36" charset:"ascii" nullable:"false" list:"user" create:"optional"` - TLSCipherPolicy string `width:"36" charset:"ascii" nullable:"false" list:"user" create:"optional"` - EnableHttp2 bool `create:"optional" list:"user"` + CertificateId string `width:"36" charset:"ascii" nullable:"false" list:"user" create:"optional" update:"user"` + TLSCipherPolicy string `width:"36" charset:"ascii" nullable:"false" list:"user" create:"optional" update:"user"` + EnableHttp2 bool `create:"optional" list:"user" update:"user"` } type SLoadbalancerListener struct {