Collect optional parameters for storage_migrate into $opts
Sanitizing $with_snapshots is done on extraction to save a line. Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
committed by
Fabian Grünbichler
parent
b9364dc683
commit
dc3655a1a5
@ -418,7 +418,7 @@ __PACKAGE__->register_method ({
|
||||
# you need to get this working (fails currently, because storage_migrate() uses
|
||||
# ssh to connect to local host (which is not needed
|
||||
my $sshinfo = PVE::SSHInfo::get_ssh_info($target_node);
|
||||
PVE::Storage::storage_migrate($cfg, $src_volid, $sshinfo, $target_sid, $target_volname);
|
||||
PVE::Storage::storage_migrate($cfg, $src_volid, $sshinfo, $target_sid, {'target_volname' => $target_volname});
|
||||
|
||||
print "DEBUG: end worker $upid\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user