fix misleading error message (#13450)

This commit is contained in:
Bernardo De Marco Gonçalves 2026-06-22 03:14:51 -03:00 committed by GitHub
parent 78d9cb5abd
commit b36f06482f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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()) {