bin/metrics-ioping.rb in sensu-plugins-io-checks-0.0.3 vs bin/metrics-ioping.rb in sensu-plugins-io-checks-1.0.0
- old
+ new
@@ -100,10 +100,10 @@
'ms' => 1e-3,
's' => 1,
'min' => 60,
'hour' => 60 * 60,
'day' => 24 * 60 * 60
- }
+ }.freeze
# #YELLOW
STATS_HEADER = /min\/avg\/max\/mdev/
def parse_0_6(str)
value = /#{NUMBER}/