Skip to content

Commit f23197b

Browse files
authored
Merge pull request #848 from agrare/fix_uninitialized_handsoap_verify_host
Fix Uninitialized constant Handsoap verify ESXi
2 parents 7eedc44 + d15babf commit f23197b

File tree

1 file changed

+1
-0
lines changed
  • app/models/manageiq/providers/vmware/infra_manager

1 file changed

+1
-0
lines changed

app/models/manageiq/providers/vmware/infra_manager/host_esx.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ def vim_advanced_settings
144144
def verify_credentials_with_ws(auth_type = nil)
145145
raise "No credentials defined" if self.missing_credentials?(auth_type)
146146

147+
require "handsoap"
147148
begin
148149
with_provider_connection(:use_broker => false, :auth_type => auth_type) {}
149150
rescue SocketError, Errno::EHOSTUNREACH, Errno::ENETUNREACH => err

0 commit comments

Comments
 (0)