Skip to content

Commit

Permalink
Remove include_concern as it's no longer needed with zeitwerk
Browse files Browse the repository at this point in the history
  • Loading branch information
jrafanie committed Jan 26, 2024
1 parent 6055bd7 commit e376d60
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class ManageIQ::Providers::Amazon::AgentCoordinatorWorker::Runner < MiqWorker::Runner
include_concern 'ResponseThread'
include ResponseThread
def do_before_work_loop
@coordinators = self.class.all_agent_coordinators_in_zone
@coordinators.each(&:cleanup_agents)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class ManageIQ::Providers::Amazon::CloudManager::Provision < ManageIQ::Providers::CloudManager::Provision
include_concern 'Cloning'
include_concern 'StateMachine'
include_concern 'Configuration'
include Cloning
include StateMachine
include Configuration
end
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class ManageIQ::Providers::Amazon::CloudManager::Template < ManageIQ::Providers::CloudManager::Template
include_concern 'ManageIQ::Providers::Amazon::CloudManager::VmOrTemplateShared'
include ManageIQ::Providers::Amazon::CloudManager::VmOrTemplateShared

supports :provisioning do
if ext_management_system
Expand Down
4 changes: 2 additions & 2 deletions app/models/manageiq/providers/amazon/cloud_manager/vm.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class ManageIQ::Providers::Amazon::CloudManager::Vm < ManageIQ::Providers::CloudManager::Vm
include_concern 'Operations'
include_concern 'ManageIQ::Providers::Amazon::CloudManager::VmOrTemplateShared'
include Operations
include ManageIQ::Providers::Amazon::CloudManager::VmOrTemplateShared

supports :capture

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
module ManageIQ::Providers::Amazon::CloudManager::Vm::Operations
extend ActiveSupport::Concern

include_concern 'Guest'
include_concern 'Power'
include Guest
include Power

included do
supports :terminate do
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module ManageIQ::Providers::Amazon::CloudManager::VmOrTemplateShared
extend ActiveSupport::Concern
include_concern 'Scanning'
include Scanning
end

0 comments on commit e376d60

Please sign in to comment.