Skip to content

Commit

Permalink
Merge pull request #15889 from juliancheal/child_managers_for_ems
Browse files Browse the repository at this point in the history
Adding Child Managers to EMS
  • Loading branch information
agrare committed Aug 24, 2017
2 parents 9e75dc4 + 961b02f commit ef367b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/ext_management_system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ def self.supported_types_and_descriptions_hash
end

belongs_to :provider
has_many :child_managers, :class_name => 'ExtManagementSystem', :foreign_key => 'parent_ems_id'

include CustomAttributeMixin
belongs_to :tenant
has_many :container_deployments, :foreign_key => :deployed_on_ems_id, :inverse_of => :deployed_on_ems
Expand Down

0 comments on commit ef367b7

Please sign in to comment.