add default 'unknown' status for vms and containers

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2017-11-03 09:51:34 +01:00 committed by Fabian Grünbichler
parent 88466808a0
commit 30cdb0ca1b

View File

@ -68,6 +68,7 @@ sub extract_vm_stats {
vmid => $vmid + 0,
node => $data->{node},
type => $data->{type},
status => 'unknown',
};
my $d;