summaryrefslogtreecommitdiff
path: root/lib/oxidized/nodes.rb
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2015-02-26 20:18:09 +0200
committerytti <saku@ytti.fi>2015-02-26 20:18:09 +0200
commit28339dc8796c9510c0507a69eabfdd9e96768226 (patch)
tree9edc98544814be1176911db3a8d5b4e3a690d24d /lib/oxidized/nodes.rb
parentfefe55e69502df7b5b3691facd0deaa53750d61c (diff)
parent87c2ad0f0987b71f2bb01a5907b97750af125ccf (diff)
Merge pull request #83 from fhibler/master
Resolving #80 and #81
Diffstat (limited to 'lib/oxidized/nodes.rb')
-rw-r--r--lib/oxidized/nodes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/nodes.rb b/lib/oxidized/nodes.rb
index 3586b97..cb2fbc5 100644
--- a/lib/oxidized/nodes.rb
+++ b/lib/oxidized/nodes.rb
@@ -23,8 +23,8 @@ module Oxidized
Log.error "node %s is not resolvable, raised %s with message '%s'" % [node, err.class, err.message]
end
end
- Log.info "Loaded #{size} nodes"
size == 0 ? replace(new) : update_nodes(new)
+ Log.info "Loaded #{size} nodes"
end
end