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
  • Loading branch information
Fryguy authored Nov 6, 2017
2 parents 16d30e3 + ed4a431 commit 81cdc80
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 @@ -139,8 +139,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,
Expand Down

0 comments on commit 81cdc80

Please sign in to comment.