Skip to content

Commit

Permalink
Merge pull request #16450 from agrare/bz_1512019_explicitly_require_h…
Browse files Browse the repository at this point in the history
…andsoap_to_catch_exception

Require handsoap in VimConnectMixin
  • Loading branch information
blomquisg authored Nov 15, 2017
2 parents 075ae85 + 3771aa4 commit 0ec867c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/mixins/vim_connect_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ def with_provider_connection(options = {})

module ClassMethods
def raw_connect(options)
require 'handsoap'

options[:pass] = MiqPassword.try_decrypt(options[:pass])
validate_connection do
MiqFaultTolerantVim.new(options)
Expand Down

0 comments on commit 0ec867c

Please sign in to comment.