mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
Merge pull request #7476 from ioito/automated-cherry-pick-of-#7474-upstream-release-3.2
Automated cherry pick of #7474: fix: typo
This commit is contained in:
@@ -986,7 +986,7 @@ func (self *SAliyunRegionDriver) ValidateDBInstanceRecovery(ctx context.Context,
|
||||
if !((utils.IsInStringArray(instance.EngineVersion, []string{"8.0", "5.7"}) &&
|
||||
instance.StorageType == api.ALIYUN_DBINSTANCE_STORAGE_TYPE_LOCAL_SSD &&
|
||||
instance.Category == api.ALIYUN_DBINSTANCE_CATEGORY_HA) || (instance.EngineVersion == "5.6" && instance.Category == api.ALIYUN_DBINSTANCE_CATEGORY_HA)) {
|
||||
return httperrors.NewUnsupportOperationError("Aliyun %s only 8.0, 5.7 ha local_ssd or 5.6 ha support recovery from it self backups")
|
||||
return httperrors.NewUnsupportOperationError("Aliyun %s only 8.0 and 5.7 high_availability local_ssd or 5.6 high_availability support recovery from it self backups", instance.Engine)
|
||||
}
|
||||
}
|
||||
if len(input.Databases) == 0 {
|
||||
|
||||
Reference in New Issue
Block a user