[pve-devel] [PATCH pve-manager]: api2:/cluster return intiger format for VMID
Dietmar Maurer
dietmar at proxmox.com
Tue Dec 1 10:42:52 CET 2020
> On 12/01/2020 10:41 AM Dietmar Maurer <dietmar at proxmox.com> wrote:
>
>
> > 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.
or does $idlist->{$i} converts $i to string??
More information about the pve-devel
mailing list