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

B #4965: Reuse existing vCenter connection

to test connectivity

(cherry picked from commit e4eaeb83d0e5236001ecbfda3b10291fe2077ae0)
This commit is contained in:
Tino Vazquez 2020-07-06 12:20:12 +02:00
parent 3dde5d1ea9
commit 7f64cfac8f
No known key found for this signature in database
GPG Key ID: 2FE9C32E94AEABBE

View File

@ -147,8 +147,7 @@ class Cluster
# Try connectivity to a vCenter instance and close the connection
def beacon_host
vi_client = VCenterDriver::VIClient.new(connection, @host.id)
vi_client.close_connection
@vic.vim.serviceContent.about.instanceUuid
Time.now.to_s
end