diff options
author | MrRJ45 <couton@gmail.com> | 2015-08-15 08:52:28 +0100 |
---|---|---|
committer | MrRJ45 <couton@gmail.com> | 2015-08-15 08:52:28 +0100 |
commit | b0b50e8bba592bf9c96c198087dc19b077044f51 (patch) | |
tree | df8d611f53c43fc69feee1f170accd663b69d352 /lib/oxidized | |
parent | 5f892762c05e425f8d4d0d8b36371ed0e9114ca2 (diff) |
Update nodes.rb
Fixing ability to queue with /node/next/<ip>
Was used in Issue #60 to fix the syslog daemon
Diffstat (limited to 'lib/oxidized')
-rw-r--r-- | lib/oxidized/nodes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/nodes.rb b/lib/oxidized/nodes.rb index d25fbe7..cb2ce7b 100644 --- a/lib/oxidized/nodes.rb +++ b/lib/oxidized/nodes.rb @@ -111,7 +111,7 @@ module Oxidized end def find_index node - index { |e| e.name == node } + index { |e| e.name == node or e.ip == node} end # @param node node which is removed from nodes list |