summaryrefslogtreecommitdiff
path: root/lib/oxidized/nodes.rb
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-08-16 12:11:13 +0300
committerSaku Ytti <saku@ytti.fi>2014-08-16 12:11:13 +0300
commit3ee2f961bc3cb615435e53d1c1f23838f9d4856f (patch)
tree311066d563c07cefc9887b4525c184d24f4e16b3 /lib/oxidized/nodes.rb
parentb9db9a117daf3f1870e05906b9b05902d1f9b22e (diff)
Closes #32
Diffstat (limited to 'lib/oxidized/nodes.rb')
-rw-r--r--lib/oxidized/nodes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/nodes.rb b/lib/oxidized/nodes.rb
index d6cc867..6f30af4 100644
--- a/lib/oxidized/nodes.rb
+++ b/lib/oxidized/nodes.rb
@@ -28,6 +28,7 @@ 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)
end
end