diff options
author | Saku Ytti <saku@ytti.fi> | 2014-08-16 12:11:13 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2014-08-16 12:11:13 +0300 |
commit | 3ee2f961bc3cb615435e53d1c1f23838f9d4856f (patch) | |
tree | 311066d563c07cefc9887b4525c184d24f4e16b3 /lib | |
parent | b9db9a117daf3f1870e05906b9b05902d1f9b22e (diff) |
Closes #32
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/nodes.rb | 1 |
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 |