Skip to content

Commit b36f064

Browse files
fix misleading error message (#13450)
1 parent 78d9cb5 commit b36f064

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/main/java/org/apache/cloudstack/backup/BackupManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ public boolean restoreBackupVolumeAndAttachToVM(final String backedUpVolumeUuid,
783783
accountManager.checkAccess(CallContext.current().getCallingAccount(), null, true, vm);
784784

785785
if (vm.getBackupOfferingId() != null && !BackupEnableAttachDetachVolumes.value()) {
786-
throw new CloudRuntimeException("The selected VM has backups, cannot restore and attach volume to the VM.");
786+
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.");
787787
}
788788

789789
if (backup.getZoneId() != vm.getDataCenterId()) {

0 commit comments

Comments
 (0)