1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #1680 from grimme-atix-de/managed_obj_id_bug

[VMWare] Fixed broken support for obj_ids with spaces.
This commit is contained in:
Ohad Levy 2013-03-31 13:44:48 -07:00
commit 44a59019dd

View file

@ -152,7 +152,7 @@ module Fog
# returns vmware managed obj id string
def managed_obj_id obj
obj.to_s.match(/\("(\S+)"\)/)[1]
obj.to_s.match(/\("([^"]+)"\)/)[1]
end
end