Fixing typo in 'percent'

This commit is contained in:
Scott Schneider 2015-02-17 08:41:19 -08:00
parent 13bcc19ff8
commit 525b87d74a

View file

@ -195,7 +195,7 @@ module Vmpooler
result['status'] = 0 result['status'] = 0
end end
result['capacity_perecent'] = (result['capacity_current'].to_f / result['capacity_total'].to_f) * 100.0 result['capacity_percent'] = (result['capacity_current'].to_f / result['capacity_total'].to_f) * 100.0
result['clone_total'] = $redis.hlen('vmpooler__clone__' + Date.today.to_s) result['clone_total'] = $redis.hlen('vmpooler__clone__' + Date.today.to_s)
if result['clone_total'] > 0 if result['clone_total'] > 0