Skip to content

Commit

Permalink
Merge pull request ManageIQ#11981 from Ladas/fix_undefined_excon_name…
Browse files Browse the repository at this point in the history
…space

Fix undefined Excon namespace
  • Loading branch information
blomquisg committed Oct 18, 2016
2 parents bf62583 + 1e52b97 commit dd583e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/manageiq/providers/openstack/manager_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def stop_event_monitor_queue_on_credential_change
end

def translate_exception(err)
require 'excon'
case err
when Excon::Errors::Unauthorized
MiqException::MiqInvalidCredentialsError.new "Login failed due to a bad username or password."
Expand Down

0 comments on commit dd583e8

Please sign in to comment.