Skip to content

Commit 842c888

Browse files
author
Dingane Hlaluku
committed
Fix syncVolumeToRootFolder method from recursing infinitely ending with StackOverFlowError
1 parent bf20940 commit 842c888

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/hypervisors/vmware/src/main/java/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)