1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Bug #2602: Fix DS name space on ESX

(cherry picked from commit 9cf3fbc158b2a818a89f0e5152588c47c077e904)
This commit is contained in:
Tino Vazquez 2014-01-09 12:29:57 +01:00
parent 11520021f7
commit 54d2e1979a

View File

@ -399,7 +399,7 @@ class VIHost
# Datastores
@free_ds_info.each{|k,v|
used_space = v[:capacity].to_i - v[:free_space].to_i
str_info << "DS=[ID=#{k},USED_MB=#{used_space},"
str_info << "DS=[ID=\"#{k}\",USED_MB=#{used_space},"
str_info << "TOTAL_MB=#{v[:capacity]},"
str_info << "FREE_MB=#{v[:free_space]}]\n"
}