Initialize an empty json object

tags/zabbix-agent-addons-0.2.42-1
Daniel Berteaud 6 years ago
parent d75c9abc81
commit 3f53c3a0fa
  1. 2
      zabbix_scripts/check_pve_sudo

@ -8,7 +8,7 @@ use File::Which;
use Data::Dumper; use Data::Dumper;
my $pvesh = which('pvesh'); my $pvesh = which('pvesh');
my $json; my $json = {};
my $pretty = 0; my $pretty = 0;
my ($cluster,$guest,$node,$storage,$pool) = undef; my ($cluster,$guest,$node,$storage,$pool) = undef;

Loading…
Cancel
Save