Skip to content

Commit

Permalink
Merge pull request ManageIQ#71 from Ladas/assign_only_compact_and_uni…
Browse files Browse the repository at this point in the history
…que_hosts_list

Assign only compact and unique list of hosts
  • Loading branch information
tzumainn authored Jul 27, 2017
2 parents bed81b7 + bd7f072 commit b27e168
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def host_aggregates
host_aggregate.ems_ref = ha.id.to_s
host_aggregate.name = ha.name
host_aggregate.metadata = ha.metadata
host_aggregate.hosts = hosts
host_aggregate.hosts = hosts.compact.uniq
end
end

Expand Down

0 comments on commit b27e168

Please sign in to comment.