mirror of https://github.com/apache/cloudstack.git
fix misleading error message (#13450)
This commit is contained in:
parent
78d9cb5abd
commit
b36f06482f
|
|
@ -783,7 +783,7 @@ public class BackupManagerImpl extends ManagerBase implements BackupManager {
|
|||
accountManager.checkAccess(CallContext.current().getCallingAccount(), null, true, vm);
|
||||
|
||||
if (vm.getBackupOfferingId() != null && !BackupEnableAttachDetachVolumes.value()) {
|
||||
throw new CloudRuntimeException("The selected VM has backups, cannot restore and attach volume to the VM.");
|
||||
throw new CloudRuntimeException("The selected VM is attached to a backup offering and, thus, it is not possible to restore and attach volumes from backups to the instance.");
|
||||
}
|
||||
|
||||
if (backup.getZoneId() != vm.getDataCenterId()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue