diff --git a/app/models/manageiq/providers/hawkular/datawarehouse_manager.rb b/app/models/manageiq/providers/hawkular/datawarehouse_manager.rb index 454841552aa..ea9586d22be 100644 --- a/app/models/manageiq/providers/hawkular/datawarehouse_manager.rb +++ b/app/models/manageiq/providers/hawkular/datawarehouse_manager.rb @@ -9,7 +9,9 @@ class Hawkular::DatawarehouseManager < ManageIQ::Providers::DatawarehouseManager include AuthenticationMixin DEFAULT_PORT = 80 - default_value_for :port, DEFAULT_PORT + default_value_for :port do |provider| + provider.port || DEFAULT_PORT + end def verify_credentials(_auth_type = nil, options = {}) connect(options).fetch_version_and_status