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

B #4965: Reuse existing vCenter connection

to test connectivity
This commit is contained in:
Tino Vazquez 2020-07-06 12:20:12 +02:00
parent c33a610bec
commit e4eaeb83d0
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