M #-: scape blank spaces in vCenter disk names (#385)

(cherry picked from commit d841e3189e)
This commit is contained in:
Alejandro Huertas Herrero authored and Tino Vazquez committed 2020-11-03 10:01:20 +01:00
1 parent bc7bb2673c
commit bc4234056b
1 file changed
+1 -1
@@ -465,7 +465,7 @@ module VirtualMachineMonitor
info_disks.each do |disk|
next if disk[1].no_exists?
str_info << "DISK_#{disk[0]}_ACTUAL_PATH=\"[" <<
str_info << "DISK_#{disk[0].gsub(' ', '_')}_ACTUAL_PATH=\"[" <<
disk[1].ds.name << '] ' << disk[1].path << '" ' << "\n"
end