mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-07 08:30:39 +00:00
don't compare booleans
a) because perl isn't THAT bad of a language that you'd need to do this and b) because JSON::XS version 2.90 "dropped" this "feature"
This commit is contained in:
parent
d2c6bf93ae
commit
d1782ebad3
@ -6020,7 +6020,7 @@ sub qemu_drive_mirror_monitor {
|
|||||||
print "$job: transferred: $transferred bytes remaining: $remaining bytes total: $total bytes progression: $percent % busy: $busy ready: $ready \n";
|
print "$job: transferred: $transferred bytes remaining: $remaining bytes total: $total bytes progression: $percent % busy: $busy ready: $ready \n";
|
||||||
}
|
}
|
||||||
|
|
||||||
$readycounter++ if $running_mirror_jobs->{$job}->{ready} eq 'true';
|
$readycounter++ if $running_mirror_jobs->{$job}->{ready};
|
||||||
}
|
}
|
||||||
|
|
||||||
last if scalar(keys %$jobs) == 0;
|
last if scalar(keys %$jobs) == 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user