Skip to content

Commit

Permalink
Rubocop Warnings
Browse files Browse the repository at this point in the history
Fix warnings called out by Rubocop.
  • Loading branch information
jerryk55 committed Oct 26, 2017
1 parent 60d2725 commit d6c88f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/controllers/mixins/ems_common_angular.rb
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def ems_form_fields
:openstack_infra_providers_exist => retrieve_openstack_infra_providers.length > 0,
:default_userid => @ems.authentication_userid ? @ems.authentication_userid : "",
:amqp_userid => amqp_userid,
:smartstate_docker_userid => smartstate_docker_userid,
:smartstate_docker_userid => smartstate_docker_userid,
:service_account => service_account ? service_account : "",
:azure_tenant_id => azure_tenant_id ? azure_tenant_id : "",
:keystone_v3_domain_id => keystone_v3_domain_id,
Expand All @@ -315,7 +315,7 @@ def ems_form_fields
:ems_controller => controller_name,
:default_auth_status => default_auth_status,
:amqp_auth_status => amqp_auth_status,
:smartstate_docker_auth_status => smartstate_docker_auth_status,
:smartstate_docker_auth_status => smartstate_docker_auth_status,
:service_account_auth_status => service_account_auth_status
} if controller_name == "ems_cloud" || controller_name == "ems_network"

Expand Down Expand Up @@ -582,7 +582,7 @@ def set_ems_record_vars(ems, mode = nil)
endpoints = {:default => default_endpoint,
:ceilometer => ceilometer_endpoint,
:amqp => amqp_endpoint,
:smartstate_docker => default_endpoint,
:smartstate_docker => default_endpoint,
:ssh_keypair => ssh_keypair_endpoint,
:metrics => metrics_endpoint,
:hawkular => hawkular_endpoint,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
:passwd_mismatch => _("SmartState Docker Passwords do not match"),
:change_stored_password => _("Change stored SmartState Docker password"),
:cancel_password_change => _("Cancel SmartState Docker password change"),
:verify_title_off => _("Docker Registry User Name and Password fields are needed to perform SmartState Analysis on AWS"),
:verify_title_off => _("Docker Registry User Name and Password for SmartState Analysis on AWS"),
:basic_info_needed => true}
.form-group
.col-md-12
Expand Down

0 comments on commit d6c88f6

Please sign in to comment.