From f8d350ac9597100c2ac2da758464bc18228db36c Mon Sep 17 00:00:00 2001 From: Sergio Semedi Barranco Date: Thu, 10 May 2018 16:51:38 +0200 Subject: [PATCH] small fix vCenter cache (Sunstone hosts) --- src/sunstone/routes/vcenter.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sunstone/routes/vcenter.rb b/src/sunstone/routes/vcenter.rb index 45d8adef7f..df7d39701f 100644 --- a/src/sunstone/routes/vcenter.rb +++ b/src/sunstone/routes/vcenter.rb @@ -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