5
0
mirror of git://git.proxmox.com/git/qemu-server.git synced 2025-01-26 10:03:51 +03:00

importovf: explicitly returns undef

We set the returns value to  { type => 'null' } but we returned an empty
string, which was confusing the cli handler.
This commit is contained in:
Emmanuel Kasper 2017-09-27 14:43:11 +02:00 committed by Wolfgang Bumiller
parent 0f80f1ab6d
commit 5d942f5aff

View File

@ -599,7 +599,9 @@ __PACKAGE__->register_method ({
};
my $wait_for_lock = 1;
return PVE::QemuConfig->lock_config_full($vmid, $wait_for_lock, $importfn);
PVE::QemuConfig->lock_config_full($vmid, $wait_for_lock, $importfn);
return undef;
}
});