[pve-devel] [PATCH container] migrate: pass ssh_info to storage_migrate
Wolfgang Bumiller
w.bumiller at proxmox.com
Tue May 23 09:04:44 CEST 2017
---
src/PVE/LXC/Migrate.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/LXC/Migrate.pm b/src/PVE/LXC/Migrate.pm
index 6b9687b..2f0244b 100644
--- a/src/PVE/LXC/Migrate.pm
+++ b/src/PVE/LXC/Migrate.pm
@@ -267,7 +267,7 @@ sub phase1 {
foreach my $volid (keys %$volhash) {
my ($sid, $volname) = PVE::Storage::parse_volume_id($volid);
push @{$self->{volumes}}, $volid;
- PVE::Storage::storage_migrate($self->{storecfg}, $volid, $self->{nodeip}, $sid);
+ PVE::Storage::storage_migrate($self->{storecfg}, $volid, $self->{ssh_info}, $sid);
}
my $conffile = PVE::LXC::Config->config_file($vmid);
--
2.11.0
More information about the pve-devel
mailing list