Skip to content

Commit

Permalink
Merge pull request ManageIQ#15 from durandom/pp_cloud_discovery
Browse files Browse the repository at this point in the history
refactor discovery to SupportsFeature style
  • Loading branch information
blomquisg authored Jul 7, 2016
2 parents 107c1ed + 8757e31 commit e1572f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/manageiq/providers/amazon/cloud_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class ManageIQ::Providers::Amazon::CloudManager < ManageIQ::Providers::CloudMana
require_nested :Vm

OrchestrationTemplateCfn.register_eligible_manager(self)
ExtManagementSystem.register_cloud_discovery_type('amazon' => 'ec2')

include ManageIQ::Providers::Amazon::ManagerMixin

Expand All @@ -45,6 +44,7 @@ class ManageIQ::Providers::Amazon::CloudManager < ManageIQ::Providers::CloudMana
before_validation :ensure_managers

supports :provisioning
supports :discovery

def ensure_managers
build_network_manager unless network_manager
Expand Down

0 comments on commit e1572f4

Please sign in to comment.