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:
parent
0f80f1ab6d
commit
5d942f5aff
@ -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;
|
||||
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user