Signed-off-by: Alexandre Derumier <[email protected]>
---
 PVE/API2Tools.pm |    1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/API2Tools.pm b/PVE/API2Tools.pm
index bdf20a8..f7bfc04 100644
--- a/PVE/API2Tools.pm
+++ b/PVE/API2Tools.pm
@@ -55,6 +55,7 @@ sub extract_vm_stats {
        $entry->{netout} = ($d->[10] || 0) + 0;
        $entry->{diskread} = ($d->[11] || 0) + 0;
        $entry->{diskwrite} = ($d->[12] || 0) + 0;
+       $entry->{template} = $d->[13] + 0;
     };
 
     return $entry;
-- 
1.7.10.4

_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to