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

Dominik Csapak d.csapak at proxmox.com
Wed May 3 16:35:17 CEST 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 1cb494e7..8831b156 100644
--- a/PVE/API2Tools.pm
+++ b/PVE/API2Tools.pm
@@ -66,6 +66,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