Signed-off-by: Tim Marx <t.m...@proxmox.com> --- PVE/API2/Storage/Content.pm | 1 + 1 file changed, 1 insertion(+)
diff --git a/PVE/API2/Storage/Content.pm b/PVE/API2/Storage/Content.pm index 76c3b67..9f6ea10 100644 --- a/PVE/API2/Storage/Content.pm +++ b/PVE/API2/Storage/Content.pm @@ -101,6 +101,7 @@ __PACKAGE__->register_method ({ foreach my $item (@$vollist) { eval { PVE::Storage::check_volume_access($rpcenv, $authuser, $cfg, undef, $item->{volid}); }; next if $@; + $item->{vmid} = int($item->{vmid}) if (defined($item->{vmid})); push @$res, $item; } -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel