Skip to content

Commit

Permalink
Continue refresh if cis_connect fails
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed Jul 12, 2024
1 parent 1a879b2 commit 1708722
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ def cis_connect(vim)
return if vim.rev < '6.0' || vim.serviceContent.about.apiType != 'VirtualCenter'

ems.connect(:service => :cis)
rescue => err
_log.warn("Failed to connect to CIS API: #{err}")
nil
end

def disconnect(vim)
Expand Down

0 comments on commit 1708722

Please sign in to comment.