Remove redundant condition

tags/zabbix-agent-addons-0.2.36-1
Daniel Berteaud 7 years ago
parent 159247fb00
commit a5804359db
  1. 2
      zabbix_scripts/check_pve_sudo

@ -31,7 +31,7 @@ if ($cluster){
} elsif ($item->{type} eq 'node' and $item->{online}){
push @nodes, $item->{name};
} elsif ($item->{type} eq 'node'){
$json->{status}->{all_online} = 0 unless ($item->{online});
$json->{status}->{all_online} = 0;
}
}
foreach my $node (@nodes){

Loading…
Cancel
Save