From 3ee2f961bc3cb615435e53d1c1f23838f9d4856f Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Sat, 16 Aug 2014 12:11:13 +0300 Subject: Closes #32 --- lib/oxidized/nodes.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/oxidized/nodes.rb') 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 -- cgit v1.2.1