From: Tyler Riddle Date: Mon, 8 Oct 2012 19:41:19 +0000 (-0700) Subject: blah that last commit was early and broken X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fede77986d38a3b3897f369f97885589498fb2bb;p=scpubgit%2FSystem-Introspector.git blah that last commit was early and broken --- diff --git a/lib/System/Introspector/State.pm b/lib/System/Introspector/State.pm index daebb40..21b2eef 100644 --- a/lib/System/Introspector/State.pm +++ b/lib/System/Introspector/State.pm @@ -32,6 +32,7 @@ sub gather { @scan = splice(@hosts, 0, $concurrent_max); } else { @scan = @hosts; + @hosts = (); } Dlog_trace { my $c = scalar(@scan); "Scanning $c hosts in this gather loop" } @scan; @@ -119,7 +120,7 @@ sub storage { sub _store { my ($self, $host, $group, $gathered) = @_; - log_debug { "Storing data for group '$group' on '$host'" }; + log_info { "Storing data for group '$group' on '$host'" }; my $storage = $self->storage($host, $group); my $ok = eval { my @files;