check_junos: Include query arguments in debug output as well.
This commit is contained in:
parent
49a8f26d7d
commit
46f1cbe20f
|
@ -291,7 +291,9 @@ sub send_query
|
||||||
my $res;
|
my $res;
|
||||||
my $err;
|
my $err;
|
||||||
|
|
||||||
verbose(3, "Sending query '$query' to router.");
|
verbose(3, "Sending query '$query' "
|
||||||
|
. join(", ", map { "$_ => $queryargs->{$_}" } keys %$queryargs)
|
||||||
|
. " to router.");
|
||||||
|
|
||||||
if (ref $queryargs) {
|
if (ref $queryargs) {
|
||||||
$res = $device->$query(%$queryargs);
|
$res = $device->$query(%$queryargs);
|
||||||
|
|
Loading…
Reference in a new issue