fix(region): network brand

This commit is contained in:
Qu Xuan
2021-10-01 11:42:43 +08:00
parent 012317f366
commit c18971e527
+2
View File
@@ -359,6 +359,8 @@ func getBrands(region *SCloudregion, zone *SZone, domainId string, capa *SCapabi
capa.LoadbalancerEngineBrands = append(capa.LoadbalancerEngineBrands, api.ONECLOUD_BRAND_ONECLOUD)
}
capa.NetworkManageBrands = append(capa.NetworkManageBrands, api.ONECLOUD_BRAND_ONECLOUD)
var appendBrand = func(enabled *[]string, disabled *[]string, readOnlyEnabled *[]string, readOnlyDisabled *[]string, brand, capability string, isEnable, readOnly bool) {
if readOnly {
if isEnable {