[pve-devel] [PATCH manager] api: fix nodes stats memory return type description

Tim Marx t.marx at proxmox.com
Mon Aug 26 13:13:42 CEST 2019


Signed-off-by: Tim Marx <t.marx at proxmox.com>
---
 PVE/API2/Nodes.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm
index 9921c9e1..bb232708 100644
--- a/PVE/API2/Nodes.pm
+++ b/PVE/API2/Nodes.pm
@@ -2125,7 +2125,7 @@ __PACKAGE__->register_method ({
 		},
 		mem => {
 		    description => "Used memory in bytes.",
-		    type => 'string',
+		    type => 'integer',
 		    optional => 1,
 		    renderer => 'bytes',
 		},
-- 
2.20.1




More information about the pve-devel mailing list