Skip to content

Commit

Permalink
require_nested is no longer needed with zeitwerk
Browse files Browse the repository at this point in the history
  • Loading branch information
jrafanie committed Jan 29, 2024
1 parent a21e0e7 commit 3993cd3
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 19 deletions.
3 changes: 0 additions & 3 deletions app/models/manageiq/providers/cisco_intersight/inventory.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
module ManageIQ::Providers::CiscoIntersight
class Inventory < ManageIQ::Providers::Inventory
require_nested :Collector
require_nested :Parser
require_nested :Persister
end
end
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module ManageIQ::Providers::CiscoIntersight
class Inventory::Collector < ManageIQ::Providers::Inventory::Collector
require_nested :PhysicalInfraManager
end
end
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module ManageIQ::Providers::CiscoIntersight
class Inventory::Parser < ManageIQ::Providers::Inventory::Parser
require_nested :PhysicalInfraManager
end
end
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module ManageIQ::Providers::CiscoIntersight
class Inventory::Persister < ManageIQ::Providers::Inventory::Persister
require_nested :PhysicalInfraManager
end
end
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
module ManageIQ::Providers::CiscoIntersight
class PhysicalInfraManager < ManageIQ::Providers::PhysicalInfraManager
require_nested :MetricsCapture
require_nested :MetricsCollectorWorker
require_nested :Refresher
require_nested :RefreshWorker
require_nested :EventCatcher
require_nested :EventParser
require_nested :PhysicalServer
require_nested :PhysicalServerProfileTemplate
supports :catalog

include Vmdb::Logging
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module ManageIQ::Providers::CiscoIntersight
class PhysicalInfraManager::EventCatcher \
< ManageIQ::Providers::BaseManager::EventCatcher
require_nested :Runner
end
end
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module ManageIQ::Providers::CiscoIntersight
class PhysicalInfraManager::MetricsCollectorWorker < ManageIQ::Providers::BaseManager::MetricsCollectorWorker
require_nested :Runner

self.default_queue_name = "cisco_intersight"

def friendly_name
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module ManageIQ::Providers::CiscoIntersight
class PhysicalInfraManager::RefreshWorker < ::MiqEmsRefreshWorker
require_nested :Runner

def self.settings_name
:ems_refresh_worker_cisco_intersight_physical_infra
end
Expand Down

0 comments on commit 3993cd3

Please sign in to comment.