[pve-devel] [PATCH manager v4 3/8] add default 'unknown' status for vms and containers

Dominik Csapak d.csapak at proxmox.com
Fri Nov 3 09:51:34 CET 2017


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 PVE/API2Tools.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/API2Tools.pm b/PVE/API2Tools.pm
index 7e0fdf47..67f36723 100644
--- a/PVE/API2Tools.pm
+++ b/PVE/API2Tools.pm
@@ -68,6 +68,7 @@ sub extract_vm_stats {
 	vmid => $vmid + 0, 
 	node => $data->{node},
 	type => $data->{type},
+	status => 'unknown',
     };
 
     my $d;
-- 
2.11.0





More information about the pve-devel mailing list