release 2.028010

This commit is contained in:
Oliver Gorwits
2014-07-22 22:38:41 +01:00
parent 723d8b7d30
commit 18ec29a522
4 changed files with 10 additions and 6 deletions

View File

@@ -1,8 +1,12 @@
2.028009_001 2.028010 - 2014-07-22
[NEW FEATURES] [NEW FEATURES]
* Node Monitor admin panel and netdisco-do action * Node Monitor admin panel and netdisco-do action (beta)
[BUG FIXES]
* Hash deref in Nbtstat.pm
2.028008 - 2014-07-22 2.028008 - 2014-07-22

View File

@@ -81,4 +81,4 @@ resources:
homepage: http://netdisco.org/ homepage: http://netdisco.org/
license: http://opensource.org/licenses/bsd-license.php license: http://opensource.org/licenses/bsd-license.php
repository: git://git.code.sf.net/p/netdisco/netdisco-ng repository: git://git.code.sf.net/p/netdisco/netdisco-ng
version: 2.028009_001 version: 2.028010

View File

@@ -4,7 +4,7 @@ use strict;
use warnings; use warnings;
use 5.010_000; use 5.010_000;
our $VERSION = '2.028009_001'; our $VERSION = '2.028010';
use App::Netdisco::Configuration; use App::Netdisco::Configuration;
=head1 NAME =head1 NAME

View File

@@ -36,7 +36,7 @@ sub new {
}; };
# Nbtstat tasks # Nbtstat tasks
$self->{_tasks} = {}; $self->{_tasks} = {};
return $self; return $self;
} }
@@ -60,7 +60,7 @@ sub nbtstat {
$self->{_tasks}{ $request->{destination} } = $request; $self->{_tasks}{ $request->{destination} } = $request;
my $delay = $self->interval * scalar keys $self->{_tasks}; my $delay = $self->interval * scalar keys %{ $self->{_tasks} || {} };
# There's probably a better way to throttle the sends # There's probably a better way to throttle the sends
# but this will work for now since we currently don't support retries # but this will work for now since we currently don't support retries