Skip to content

Commit

Permalink
Added _log() to Inventory collector/parser
Browse files Browse the repository at this point in the history
  • Loading branch information
slemrmartin committed Aug 22, 2018
1 parent 8a79376 commit 9fc96cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/manager_refresh/inventory/collector.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
class ManagerRefresh::Inventory::Collector
attr_reader :manager, :target

include Vmdb::Logging

# @param manager [ManageIQ::Providers::BaseManager] A manager object
# @param refresh_target [Object] A refresh Target object
def initialize(manager, refresh_target)
Expand Down
2 changes: 2 additions & 0 deletions app/models/manager_refresh/inventory/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ class ManagerRefresh::Inventory::Parser
attr_accessor :collector
attr_accessor :persister

include Vmdb::Logging

def parse
raise NotImplementedError, _("must be implemented in a subclass")
end
Expand Down

0 comments on commit 9fc96cf

Please sign in to comment.