diff --git a/app/models/manageiq/providers/base_manager/metrics_capture.rb b/app/models/manageiq/providers/base_manager/metrics_capture.rb index 1877c6b64fb..17581fde08e 100644 --- a/app/models/manageiq/providers/base_manager/metrics_capture.rb +++ b/app/models/manageiq/providers/base_manager/metrics_capture.rb @@ -1,8 +1,9 @@ class ManageIQ::Providers::BaseManager::MetricsCapture include Vmdb::Logging - attr_reader :target - def initialize(target) + attr_reader :target, :ems + def initialize(target, ems = nil) @target = target + @ems = ems end end