Skip to content

Commit 7514d72

Browse files
committed
fix rename
1 parent 3a6b059 commit 7514d72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1526,7 +1526,7 @@ private boolean attachVolumeToVM(Long zoneId, String restoredVolumeLocation, Bac
15261526
HypervisorGuru guru = hypervisorGuruManager.getGuru(vm.getHypervisorType());
15271527
backupVolumeInfo.setType(Volume.Type.DATADISK);
15281528

1529-
logger.info("Attaching the restored volume {} to VM {}.", () -> ReflectionToStringBuilder.toString(volumeInfo, ToStringStyle.JSON_STYLE), () -> vm);
1529+
logger.info("Attaching the restored volume {} to VM {}.", () -> ReflectionToStringBuilder.toString(backupVolumeInfo, ToStringStyle.JSON_STYLE), () -> vm);
15301530
StoragePoolVO pool = primaryDataStoreDao.findByUuid(datastoreUuid);
15311531
try {
15321532
return guru.attachRestoredVolumeToVirtualMachine(zoneId, restoredVolumeLocation, backupVolumeInfo, vm, pool.getId(), backup);

0 commit comments

Comments
 (0)