On 2/25/20 4:32 PM, Stefan Reiter wrote:
> Signed-off-by: Stefan Reiter <s.rei...@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 7df3c4c..6c1e9c1 100644
> --- a/src/PVE/LXC/Migrate.pm
> +++ b/src/PVE/LXC/Migrate.pm
> @@ -284,7 +284,7 @@ sub phase1 {
>       my ($sid, $volname) = PVE::Storage::parse_volume_id($volid);
>       push @{$self->{volumes}}, $volid;
>       my $with_snapshots = $volhash->{$volid}->{snapshots};
> -     my $bwlimit = PVE::Storage::get_bandwidth_limit('migrate', [$sid], 
> $opts->{bwlimit});
> +     my $bwlimit = PVE::Storage::get_bandwidth_limit('migration', [$sid], 
> $opts->{bwlimit});
>       # JSONSchema and get_bandwidth_limit use kbps - storage_migrate bps
>       $bwlimit = $bwlimit * 1024 if defined($bwlimit);
>  
> 

applied, thanks!

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to