Revision 47952add
Added by yifat makias almost 3 years ago
app/models/compute_resource.rb | ||
---|---|---|
has_many :hostgroups, :dependent => :nullify
|
||
has_many :images, :dependent => :destroy
|
||
before_validation :set_attributes_hash
|
||
has_many :compute_attributes, :dependent => :destroy
|
||
has_many :compute_attributes, :dependent => :destroy, :autosave => true
|
||
has_many :compute_profiles, :through => :compute_attributes
|
||
|
||
# The DB may contain compute resource from disabled plugins - filter them out here
|
Also available in: Unified diff
Fixes #32792 - Add update to ca when vmware cr is updated