mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-05 22:41:14 +00: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;
|
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…
Reference in New Issue
Block a user