Skip to content

Commit

Permalink
Merge pull request #2646 from agrare/fix_openstack_infra_credential_v…
Browse files Browse the repository at this point in the history
…alidation

Fix Openstack InfraManager credential validation
(cherry picked from commit 81cdc80)
  • Loading branch information
Fryguy authored and simaishi committed Nov 7, 2017
1 parent 0d79c6d commit 7f19357
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/controllers/mixins/ems_common_angular.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ def get_task_args(ems)

[ems.build_connect_params(connect_opts), true]
when 'ManageIQ::Providers::Openstack::InfraManager'
auth_url = ems.auth_url(params[:default_hostname], params[:default_api_port])
[user, password, auth_url]
[password, params.except(:default_password)]
when 'ManageIQ::Providers::Redhat::InfraManager'
[{:username => user, :password => password, :server => params[:default_hostname], :port => params[:default_api_port], :scheme => "http", :version => 4}]
when 'ManageIQ::Providers::Vmware::InfraManager'
Expand Down

0 comments on commit 7f19357

Please sign in to comment.