[pve-devel] applied: [PATCH common v2 1/1] JSONSchema: fix units of bwlimit

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Apr 2 10:30:36 CEST 2019


On 4/1/19 11:30 AM, Stoiko Ivanov wrote:
> the description of bwlimit wrote MiB/s, the use in restore operation is KiB/s
> 
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
>  src/PVE/JSONSchema.pm | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

applied, thanks!

> 
> diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm
> index f0fc2aa..51ef3ab 100644
> --- a/src/PVE/JSONSchema.pm
> +++ b/src/PVE/JSONSchema.pm
> @@ -466,23 +466,23 @@ my %bwlimit_opt = (
>  my $bwlimit_format = {
>  	default => {
>  	    %bwlimit_opt,
> -	    description => 'default bandwidth limit in MiB/s',
> +	    description => 'default bandwidth limit in KiB/s',
>  	},
>  	restore => {
>  	    %bwlimit_opt,
> -	    description => 'bandwidth limit in MiB/s for restoring guests from backups',
> +	    description => 'bandwidth limit in KiB/s for restoring guests from backups',
>  	},
>  	migration => {
>  	    %bwlimit_opt,
> -	    description => 'bandwidth limit in MiB/s for migrating guests',
> +	    description => 'bandwidth limit in KiB/s for migrating guests (including moving local disks)',
>  	},
>  	clone => {
>  	    %bwlimit_opt,
> -	    description => 'bandwidth limit in MiB/s for cloning disks',
> +	    description => 'bandwidth limit in KiB/s for cloning disks',
>  	},
>  	move => {
>  	    %bwlimit_opt,
> -	    description => 'bandwidth limit in MiB/s for moving disks',
> +	    description => 'bandwidth limit in KiB/s for moving disks',
>  	},
>  };
>  register_format('bwlimit', $bwlimit_format);
> 





More information about the pve-devel mailing list