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

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Aug 26 13:37:58 CEST 2019


On 26.08.19 13:13, Tim Marx wrote:
> 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',
>  		},
> 

applied, thanks!



More information about the pve-devel mailing list