mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
qcloud lb sync project bugfix
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user