[pve-devel] [PATCH pve-manager]: api2:/cluster return intiger format for VMID

Dietmar Maurer dietmar at proxmox.com
Tue Dec 1 10:41:36 CET 2020


>  	for (my $i = 100; $i < 10000; $i++) {
> -	    return $i if !defined($idlist->{$i});
> +	    return int($i) if !defined($idlist->{$i});

IMO, this does not solve the problem, because $i is already and int.





More information about the pve-devel mailing list