diff --git a/app/models/manageiq/providers/amazon/cloud_manager.rb b/app/models/manageiq/providers/amazon/cloud_manager.rb index 57b87e260..130f5db57 100644 --- a/app/models/manageiq/providers/amazon/cloud_manager.rb +++ b/app/models/manageiq/providers/amazon/cloud_manager.rb @@ -24,14 +24,12 @@ class ManageIQ::Providers::Amazon::CloudManager < ManageIQ::Providers::CloudMana has_one :network_manager, :foreign_key => :parent_ems_id, :class_name => "ManageIQ::Providers::Amazon::NetworkManager", - :autosave => true, - :dependent => :destroy + :autosave => true has_many :storage_managers, :foreign_key => :parent_ems_id, :class_name => "ManageIQ::Providers::StorageManager", - :autosave => true, - :dependent => :destroy + :autosave => true delegate :floating_ips, :security_groups,