vmpooler/lib
Samuel Beaulieu 26d6cb28d9 Refactor the get_cluster_host_utilization method
The same method logic was being used in two places but only one was calling the method
get_cluster_host_utilization, so this refactors it to use the method for both.
The method could also return an empty array and the subsequent line would try
to .sort[0][1] which would return undefined method [] for nil:NilClass in that
case. The return value is now checked and an exception raised
2017-06-07 17:04:59 +01:00
..
vmpooler Refactor the get_cluster_host_utilization method 2017-06-07 17:04:59 +01:00
vmpooler.rb (POOLER-52) Add a generic connection pool 2017-05-17 13:52:28 -07:00