diff options
author | Adam Winberg <adam.winberg@smhi.se> | 2016-05-27 13:09:16 +0200 |
---|---|---|
committer | Adam Winberg <adam.winberg@smhi.se> | 2016-05-27 13:09:16 +0200 |
commit | 2d8e9087fa7ca25fcb46eb8b9e20a7ddf0293ec1 (patch) | |
tree | 95300d76a406589cb462d3ae245c3681524292c0 /lib/oxidized | |
parent | 71290cf4f0b866557fe0f87bbace898fdc1c2ca3 (diff) |
Fix syntax
Diffstat (limited to 'lib/oxidized')
-rw-r--r-- | lib/oxidized/jobs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/jobs.rb b/lib/oxidized/jobs.rb index b61a54d..c566778 100644 --- a/lib/oxidized/jobs.rb +++ b/lib/oxidized/jobs.rb @@ -8,7 +8,7 @@ module Oxidized @max = max # Set interval to 1 if interval is 0 (=disabled) so we don't break # the 'ceil' function - @interval = @interval == 0 ? 1 : interval + @interval = interval == 0 ? 1 : interval @nodes = nodes @last = Time.now.utc @durations = Array.new @nodes.size, AVERAGE_DURATION |