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

small fix vCenter cache (Sunstone hosts)

This commit is contained in:
Sergio Semedi Barranco 2018-05-10 16:51:38 +02:00 committed by Ruben S. Montero
parent 68cf4b48b6
commit f8d350ac95

View File

@ -116,6 +116,8 @@ get '/vcenter' do
error 404, error.to_json
end
VCenterDriver::VIHelper.clean_ref_hash
rs = dc_folder.get_unimported_hosts(hpool,vcenter_client.vim.host)
[200, rs.to_json]
rescue Exception => e