qcloud lb sync project bugfix

This commit is contained in:
TangBin
2020-10-29 16:43:20 +08:00
parent 24af7a4b47
commit 8589d67ac3
5 changed files with 5 additions and 5 deletions
@@ -188,7 +188,7 @@ func (self *SRegion) GetLBBackends(t LB_TYPE, lbId, listenerId, ruleId string) (
}
func (self *SLBBackend) GetProjectId() string {
return ""
return self.group.GetProjectId()
}
func (self *SLBBackend) SyncConf(ctx context.Context, port, weight int) error {
@@ -420,5 +420,5 @@ func (self *SLBBackendGroup) GetBackends() ([]SLBBackend, error) {
}
func (self *SLBBackendGroup) GetProjectId() string {
return ""
return self.lb.GetProjectId()
}
@@ -105,5 +105,5 @@ func (self *SLBCertificate) GetExpireTime() time.Time {
}
func (self *SLBCertificate) GetProjectId() string {
return ""
return self.ProjectID
}
@@ -872,5 +872,5 @@ func certificateParams(t LB_TYPE, params map[string]string, cert *certificate, p
}
func (self *SLBListener) GetProjectId() string {
return ""
return self.lb.GetProjectId()
}
@@ -108,7 +108,7 @@ func (self *SLBListenerRule) GetPath() string {
}
func (self *SLBListenerRule) GetProjectId() string {
return ""
return self.listener.GetProjectId()
}
func (self *SLBListenerRule) GetBackendGroup() *SLBBackendGroup {