Skip to content

Commit

Permalink
Merge pull request #11981 from Ladas/fix_undefined_excon_namespace
Browse files Browse the repository at this point in the history
Fix undefined Excon namespace
(cherry picked from commit dd583e8)

https://bugzilla.redhat.com/show_bug.cgi?id=1341587
  • Loading branch information
blomquisg authored and chessbyte committed Oct 19, 2016
1 parent 2ca0c3e commit cbb0167
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 cbb0167

Please sign in to comment.