Skip to content

Commit

Permalink
Merge pull request #71 from masayag/fix_host_filtering
Browse files Browse the repository at this point in the history
Fixed hosts filtering when no ems selected
  • Loading branch information
oourfali authored Aug 3, 2017
2 parents b621001 + 00c3367 commit 484a6a5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ def load_allowed_vlans(hosts, vlans)

def filter_allowed_hosts(all_hosts)
ems = source_ems
return all_hosts unless ems
ovirt_services = ManageIQ::Providers::Redhat::InfraManager::OvirtServices::Builder.new(ems).build(:use_highest_supported_version => true).new(:ems => ems)
ovirt_services.filter_allowed_hosts(self, all_hosts)
end
Expand Down

0 comments on commit 484a6a5

Please sign in to comment.