Skip to content

Commit

Permalink
Merge pull request ManageIQ#22926 from agrare/remove_monitoring_infra…
Browse files Browse the repository at this point in the history
…_manager_core_container_manager

Remove HasInfra/MonitoringManagerMixin from core
  • Loading branch information
Fryguy authored Mar 4, 2024
2 parents 5467ea7 + 8961355 commit 1e9baef
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions app/models/manageiq/providers/container_manager.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module ManageIQ::Providers
class ContainerManager < BaseManager
include HasMonitoringManagerMixin
include HasInfraManagerMixin
include SupportsFeatureMixin

has_many :container_nodes, -> { active }, # rubocop:disable Rails/HasManyOrHasOneDependent
Expand Down Expand Up @@ -56,12 +54,6 @@ class ContainerManager < BaseManager
has_many :all_container_nodes, :foreign_key => :ems_id, :dependent => :destroy, :class_name => "ContainerNode"
has_many :all_container_quotas, :foreign_key => :ems_id, :dependent => :destroy, :class_name => "ContainerQuota"

has_one :infra_manager,
:foreign_key => :parent_ems_id,
:class_name => "ManageIQ::Providers::Kubevirt::InfraManager",
:autosave => true,
:dependent => :destroy

virtual_column :port_show, :type => :string

supports :authentication_status
Expand Down

0 comments on commit 1e9baef

Please sign in to comment.