Skip to content

Commit 0982e46

Browse files
committed
Remove PhysicalSwitch from custom button classes
physical switch shares buttons with switch
1 parent 29b1ba6 commit 0982e46

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

app/models/custom_button.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ class CustomButton < ApplicationRecord
5959
PhysicalServer,
6060
PhysicalStorage,
6161
PhysicalRack,
62-
PhysicalSwitch,
6362
].freeze
6463

6564
def self.buttons_for(other, applies_to_id = nil)

app/models/physical_switch.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ class PhysicalSwitch < Switch
22
include SupportsFeatureMixin
33
include EventMixin
44
include EmsRefreshMixin
5-
include CustomActionsMixin
65

76
belongs_to :ext_management_system, :foreign_key => :ems_id, :inverse_of => :physical_switches,
87
:class_name => "ManageIQ::Providers::PhysicalInfraManager"

0 commit comments

Comments
 (0)