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

Dominik Csapak d.csapak at proxmox.com
Mon May 8 12:31:47 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 9a4e17c4..c92abefe 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