Skip to content

Commit ebc1285

Browse files
author
Dingane Hlaluku
committed
Fix syncVolumeToRootFolder method to avoid an infite recursive loop
1 parent 13c81a8 commit ebc1285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/hypervisors/vmware/src/com/cloud/storage/resource/VmwareStorageLayoutHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public static String syncVolumeToVmDefaultFolder(DatacenterMO dcMo, String vmNam
143143
}
144144

145145
public static void syncVolumeToRootFolder(DatacenterMO dcMo, DatastoreMO ds, String vmdkName, String vmName) throws Exception {
146-
syncVolumeToRootFolder(dcMo, ds, vmdkName, null);
146+
syncVolumeToRootFolder(dcMo, ds, vmdkName, vmName, null);
147147
}
148148

149149
public static void syncVolumeToRootFolder(DatacenterMO dcMo, DatastoreMO ds, String vmdkName, String vmName, String excludeFolders) throws Exception {

0 commit comments

Comments
 (0)