diff --git a/app/models/manageiq/providers/base_manager.rb b/app/models/manageiq/providers/base_manager.rb index 8f963edb5f3..dafd2667b22 100644 --- a/app/models/manageiq/providers/base_manager.rb +++ b/app/models/manageiq/providers/base_manager.rb @@ -25,7 +25,11 @@ def refresher end def http_proxy_uri - VMDB::Util.http_proxy_uri(emstype.try(:to_sym)) || VMDB::Util.http_proxy_uri + self.class.http_proxy_uri + end + + def self.http_proxy_uri + VMDB::Util.http_proxy_uri(ems_type.try(:to_sym)) || VMDB::Util.http_proxy_uri end def self.default_blacklisted_event_names