Skip to content

Commit 0d68b78

Browse files
committed
Remove include_concern as it's no longer needed with zeitwerk
1 parent 2c37ad8 commit 0d68b78

File tree

5 files changed

+13
-15
lines changed

5 files changed

+13
-15
lines changed

app/models/manageiq/providers/ibm_cloud/power_virtual_servers/cloud_manager/provision.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class ManageIQ::Providers::IbmCloud::PowerVirtualServers::CloudManager::Provision < ::MiqProvisionCloud
2-
include_concern 'Cloning'
3-
include_concern 'StateMachine'
4-
include_concern 'OptionsHelper'
2+
include Cloning
3+
include StateMachine
4+
include OptionsHelper
55

66
def destination_type
77
case request_type

app/models/manageiq/providers/ibm_cloud/power_virtual_servers/cloud_manager/vm.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
class ManageIQ::Providers::IbmCloud::PowerVirtualServers::CloudManager::Vm < ManageIQ::Providers::CloudManager::Vm
2-
include_concern 'Operations'
2+
include Operations
33

44
supports :capture
55
supports :terminate

app/models/manageiq/providers/ibm_cloud/vpc/cloud_manager/provision.rb

+3-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
# Opts into CloudManager provisioning. Custom logic is separated into module mixins.
44
class ManageIQ::Providers::IbmCloud::VPC::CloudManager::Provision < ::MiqProvisionCloud
55
include ManageIQ::Providers::IbmCloud::VPC::CloudManager::LoggingMixin # Standardise the logging.
6-
7-
include_concern 'Cloning' # Actual provision to cloud.
8-
include_concern 'Payload' # Create json payload.
9-
include_concern 'StateMachine' # Pre-provision tasks.
6+
include Cloning # Actual provision to cloud.
7+
include Payload # Create json payload.
8+
include StateMachine # Pre-provision tasks.
109
end

app/models/manageiq/providers/ibm_cloud/vpc/cloud_manager/provision_workflow.rb

+5-6
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
# Class contains all logic used to populate the UI.
44
class ManageIQ::Providers::IbmCloud::VPC::CloudManager::ProvisionWorkflow < ::MiqProvisionCloudWorkflow
55
include ManageIQ::Providers::IbmCloud::VPC::CloudManager::LoggingMixin # Standardise the logging.
6-
7-
include_concern 'Common' # Provides common functionality.
8-
include_concern 'General' # Used for general options.
9-
include_concern 'Network' # Used for network options.
10-
include_concern 'Volumes' # Used for volume options.
11-
include_concern 'Fields' # Used for manipulating field hashes.
6+
include Common # Provides common functionality.
7+
include General # Used for general options.
8+
include Network # Used for network options.
9+
include Volumes # Used for volume options.
10+
include Fields # Used for manipulating field hashes.
1211

1312
# Class methods. Do not move to sub module.
1413
class << self

app/models/manageiq/providers/ibm_cloud/vpc/cloud_manager/template.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Provide CloudManager support for IBM CLoud VPC templates.
44
class ManageIQ::Providers::IbmCloud::VPC::CloudManager::Template < ManageIQ::Providers::CloudManager::Template
5-
include_concern 'ManageIQ::Providers::IbmCloud::VPC::CloudManager::VmOrTemplateShared'
5+
include ManageIQ::Providers::IbmCloud::VPC::CloudManager::VmOrTemplateShared
66

77
supports :provisioning do
88
if ext_management_system

0 commit comments

Comments
 (0)