vmpooler/lib/vmpooler
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
..
api (maint) Fix rubocop violations 2017-03-16 15:39:15 -07:00
providers Refactor the get_cluster_host_utilization method 2017-06-07 17:04:59 +01:00
public Fix JavaScript error on nil weekly_data 2016-11-21 17:05:58 -08:00
views dashboard2 2016-01-13 12:01:05 -08:00
api.rb (maint) Update VMPooler files with fixes for Rubocop violations 2017-05-17 13:52:28 -07:00
dashboard.rb Redirect / to /dashboard 2015-04-10 09:38:55 -07:00
dummy_statsd.rb (maint) Fix rubocop violations 2017-03-16 15:39:15 -07:00
generic_connection_pool.rb (POOLER-52) Add a generic connection pool 2017-05-17 13:52:28 -07:00
graphite.rb (maint) Fix rubocop violations 2017-03-16 15:39:15 -07:00
logger.rb (maint) Emit console messages when debugging is enabled 2017-03-31 17:57:06 -07:00
pool_manager.rb (POOLER-70) Update execute! for VM Provider 2017-05-17 13:52:28 -07:00
providers.rb (maint) Update VMPooler files with fixes for Rubocop violations 2017-05-17 13:52:28 -07:00
statsd.rb (maint) Fix rubocop violations 2017-03-16 15:39:15 -07:00