summaryrefslogtreecommitdiff
path: root/lib/oxidized/nodes.rb
diff options
context:
space:
mode:
authorFlorian Hibler <florian.hibler@kaiaglobal.com>2015-02-26 17:26:41 +0000
committerFlorian Hibler <florian.hibler@kaiaglobal.com>2015-02-26 17:26:41 +0000
commit76e46e37650653697ed234b134a881edd598b255 (patch)
tree517353e1c30998616ca0df74e3e6e67bec0c6155 /lib/oxidized/nodes.rb
parent4908e399dde3546bd81e612a20b9b13982429583 (diff)
Resolves #80
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