Skip to content

Commit

Permalink
Merge pull request #5297 from Ladas/openstack_set_default_api_version…
Browse files Browse the repository at this point in the history
…_in_cloud_form

OpenStack set default api version
  • Loading branch information
blomquisg authored and Matthew Draper committed Nov 17, 2015
1 parent 181121f commit 1faa716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/ems_cloud_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def ems_cloud_form_fields
:provider_id => @ems.provider_id ? @ems.provider_id : "",
:hostname => @ems.hostname,
:api_port => @ems.port,
:api_version => @ems.api_version,
:api_version => @ems.api_version ? @ems.api_version : "v2",
:provider_region => @ems.provider_region,
:openstack_infra_providers_exist => retrieve_openstack_infra_providers.length > 0 ? true : false,
:default_userid => @ems.authentication_userid ? @ems.authentication_userid : "",
Expand Down

0 comments on commit 1faa716

Please sign in to comment.