loadbalancers: 清理监听选项名

This commit is contained in:
Yousong Zhou
2018-12-11 14:32:27 +00:00
parent 58aca9ea9e
commit 93e1e7799e
2 changed files with 2 additions and 9 deletions
@@ -43,8 +43,6 @@ type SLoadbalancerHTTPListener struct {
StickySessionCookie string `width:"128" charset:"ascii" nullable:"false" list:"user" create:"optional" update:"user"`
StickySessionCookieTimeout int `nullable:"false" list:"user" create:"optional" update:"user"`
//XForwardedForSLBIP bool `nullable:"false" list:"user" create:"optional"`
//XForwardedForSLBID bool `nullable:"false" list:"user" create:"optional"`
XForwardedFor bool `nullable:"false" list:"user" create:"optional" update:"user"`
Gzip bool `nullable:"false" list:"user" create:"optional" update:"user"`
}
+2 -7
View File
@@ -25,10 +25,8 @@ type LoadbalancerHTTPListener struct {
StickySessionCookie string
StickySessionCookieTimeout int
XForwardedFor bool
XForwardedForSLBIP bool
XForwardedForSLBID bool
Gzip bool
XForwardedFor bool
Gzip bool
}
// CACertificate string
@@ -77,9 +75,6 @@ type LoadbalancerListener struct {
LoadbalancerUDPListener
LoadbalancerHTTPListener
LoadbalancerHTTPSListener
XForwardedFor bool
Gzip bool
}
type LoadbalancerListenerRule struct {