]> git.proxmox.com Git - qemu-server.git/commit
fix #5572: avoid warning about uninitialized value when cloning cloudinit disk
authorFiona Ebner <f.ebner@proxmox.com>
Wed, 3 Jul 2024 08:40:32 +0000 (10:40 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 3 Jul 2024 12:32:34 +0000 (14:32 +0200)
commit8964b466ae234fc650fe653815dbeeef942e50de
tree74ac9dc35d314851c5250f092b1f2233fe596656
parenta5586eb4525b1fd2b231c81064c0afe80ff0ed83
fix #5572: avoid warning about uninitialized value when cloning cloudinit disk

Some callers like the move disk API endpoint do not pass an explicit
completion argument. This is not an issue in general, because
qemu_drive_mirror_monitor() defaults to 'complete'. However, there was
a string comparision for the cloudinit case that can trigger a warning
about the value being uninitialized.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
PVE/QemuServer.pm