diff --git a/app/models/manager_refresh/inventory/collector.rb b/app/models/manager_refresh/inventory/collector.rb index 758a8644bf6..bee69350cdb 100644 --- a/app/models/manager_refresh/inventory/collector.rb +++ b/app/models/manager_refresh/inventory/collector.rb @@ -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) diff --git a/app/models/manager_refresh/inventory/parser.rb b/app/models/manager_refresh/inventory/parser.rb index 686146d85a6..e64753f8057 100644 --- a/app/models/manager_refresh/inventory/parser.rb +++ b/app/models/manager_refresh/inventory/parser.rb @@ -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