Skip to content

Commit

Permalink
Subclass ResourcePools
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed Nov 18, 2019
1 parent 458733c commit abd6350
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/models/manageiq/providers/infra_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module ManageIQ::Providers
class InfraManager < BaseManager
require_nested :Cluster
require_nested :ProvisionWorkflow
require_nested :ResourcePool
require_nested :Template
require_nested :Vm
require_nested :VmOrTemplate
Expand Down
2 changes: 2 additions & 0 deletions app/models/manageiq/providers/infra_manager/resource_pool.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
class ManageIQ::Providers::InfraManager::ResourcePool < ::ResourcePool
end
1 change: 1 addition & 0 deletions app/models/resource_pool.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
class ResourcePool < ApplicationRecord
include NewWithTypeStiMixin
include TenantIdentityMixin

acts_as_miq_taggable
Expand Down

0 comments on commit abd6350

Please sign in to comment.