Skip to content

Commit

Permalink
Merge pull request ManageIQ#1126 from yaacov/fix-false-validation-error
Browse files Browse the repository at this point in the history
Fix wrong validation error
  • Loading branch information
himdel authored Apr 24, 2017
2 parents 9fa2f08 + 64d5985 commit d63ee8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/mixins/ems_common_angular.rb
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ def get_hostname_from_routes(ems, endpoint_hash, token)
client = ems.class.raw_connect(endpoint.hostname, endpoint.port,
:service => :openshift, :bearer => token, :ssl_options => ssl_options)
client.get_route('hawkular-metrics', 'openshift-infra').try(:spec).try(:host)
rescue KubeException, OpenSSL::SSL::SSLError => e
rescue StandardError => e
$log.warn("MIQ(#{controller_name}_controller-#{action_name}): get_hostname_from_routes error: #{e}")
nil
end
Expand Down

0 comments on commit d63ee8f

Please sign in to comment.