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:
commit
44a59019dd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue