mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix: ucloud GetBalance return ErrNotSupported
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user