mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[vsphere|compute] Reverts change of connection
As raised e8630a0083 (commitcomment-2445605)
This commit is contained in:
parent
97a7a1faf8
commit
fbce47b429
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ module Fog
|
||||||
vm = case id
|
vm = case id
|
||||||
# UUID based
|
# UUID based
|
||||||
when /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
|
when /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/
|
||||||
@service.searchIndex.FindByUuid :uuid => id, :vmSearch => true, :instanceUuid => true, :datacenter => dc
|
@connection.searchIndex.FindByUuid :uuid => id, :vmSearch => true, :instanceUuid => true, :datacenter => dc
|
||||||
else
|
else
|
||||||
# try to find based on VM name
|
# try to find based on VM name
|
||||||
if dc
|
if dc
|
||||||
|
|
Loading…
Add table
Reference in a new issue