mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #8820 from tb365/bugfix/tb-qcloud-create-single-zone-elb-bugfix
qcloud create single zone elb bugfix
This commit is contained in:
@@ -152,6 +152,8 @@ func (self *SRegion) CreateILoadBalancer(loadbalancer *cloudprovider.SLoadbalanc
|
||||
if len(loadbalancer.ZoneID) > 0 {
|
||||
if len(loadbalancer.SlaveZoneID) > 0 {
|
||||
params["MasterZoneId"] = loadbalancer.ZoneID
|
||||
} else {
|
||||
params["ZoneId"] = loadbalancer.ZoneID
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user