mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 23:54:18 +02:00
fix my shitty commit
This commit is contained in:
parent
a4f1309c8c
commit
a1e2d0fe45
@ -224,7 +224,7 @@ sub internal_api_list_nodes {
|
|||||||
$self->{output}->output_add(severity => 'UNKNOWN',
|
$self->{output}->output_add(severity => 'UNKNOWN',
|
||||||
short_msg => "Node '$options{node_name}': cannot decode json list nodes response: $@");
|
short_msg => "Node '$options{node_name}': cannot decode json list nodes response: $@");
|
||||||
} else {
|
} else {
|
||||||
$nodes = [] if (ref($item) eq 'HASH'); # nodes is not in a swarm
|
$nodes = [] if (ref($nodes) eq 'HASH'); # nodes is not in a swarm
|
||||||
}
|
}
|
||||||
|
|
||||||
return $nodes;
|
return $nodes;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user