Skip to content

Commit

Permalink
metrics_capture supports ems
Browse files Browse the repository at this point in the history
This allows metrics_capture to support multiple targets within an ems
  • Loading branch information
kbrock committed Nov 14, 2019
1 parent 72ffca2 commit 30b7932
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/models/manageiq/providers/base_manager/metrics_capture.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 30b7932

Please sign in to comment.