fix: ucloud GetBalance return ErrNotSupported

This commit is contained in:
Qiu Jian
2019-04-01 21:02:03 +08:00
committed by Yousong Zhou
parent 2c515a7edd
commit 7932c0bee7
+1 -1
View File
@@ -149,7 +149,7 @@ func (self *SUcloudProvider) GetIRegionById(extId string) (cloudprovider.ICloudR
}
func (self *SUcloudProvider) GetBalance() (float64, string, error) {
return 0.0, api.CLOUD_PROVIDER_HEALTH_NORMAL, nil
return 0.0, api.CLOUD_PROVIDER_HEALTH_NORMAL, cloudprovider.ErrNotSupported
}
func (self *SUcloudProvider) GetOnPremiseIRegion() (cloudprovider.ICloudRegion, error) {