Skip to content

Commit 6a6bedd

Browse files
committed
Move associations from Vmware::InfraManager to core
1 parent 1a0cfb0 commit 6a6bedd

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

app/models/manageiq/providers/vmware/infra_manager.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,6 @@ class Vmware::InfraManager < InfraManager
4444
unsupported_reason_add(:streaming_refresh, "Streaming refresh not enabled") unless streaming_refresh_enabled?
4545
end
4646

47-
has_many :host_guest_devices, :through => :host_hardwares, :source => :guest_devices
48-
has_many :miq_scsi_targets, -> { distinct }, :through => :host_guest_devices
49-
has_many :miq_scsi_luns, -> { distinct }, :through => :miq_scsi_targets
50-
has_many :host_system_services, :through => :hosts, :source => :system_services
51-
has_many :distributed_virtual_switches, :dependent => :destroy, :foreign_key => :ems_id
52-
5347
def self.ems_type
5448
@ems_type ||= "vmwarews".freeze
5549
end

0 commit comments

Comments
 (0)