[pve-devel] [PATCH container 2/4] Use correct option for storage_migrate

Fabian Ebner f.ebner at proxmox.com
Wed Jul 29 11:44:16 CEST 2020


Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
 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 d0be6d4..e482657 100644
--- a/src/PVE/LXC/Migrate.pm
+++ b/src/PVE/LXC/Migrate.pm
@@ -287,7 +287,7 @@ sub phase1 {
 	$bwlimit = $bwlimit * 1024 if defined($bwlimit);
 
 	my $storage_migrate_opts = {
-	    'bwlimit' => $bwlimit,
+	    'ratelimit_bps' => $bwlimit,
 	    'insecure' => $opts->{migration_type} eq 'insecure',
 	    'with_snapshots' => $volhash->{$volid}->{snapshots},
 	};
-- 
2.20.1






More information about the pve-devel mailing list