mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-24 02:04:10 +03:00
create_disks: fix uninitialized warning
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
d4fa9981b8
commit
e3d3194446
@ -1095,7 +1095,7 @@ my $update_vm_api = sub {
|
||||
return if PVE::QemuServer::drive_is_cdrom($drive);
|
||||
|
||||
my ($storeid, $volname) = PVE::Storage::parse_volume_id($volid, 1);
|
||||
return if $volname eq 'cloudinit';
|
||||
return if defined($volname) && $volname eq 'cloudinit';
|
||||
|
||||
my $format;
|
||||
if ($volid =~ $NEW_DISK_RE) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user