From 34e75688f6449290ee74505d4b458bfd2f484735 Mon Sep 17 00:00:00 2001 From: Stoiko Ivanov Date: Mon, 1 Apr 2019 11:30:57 +0200 Subject: [PATCH] JSONSchema: fix units of bwlimit the description of bwlimit wrote MiB/s, the use in restore operation is KiB/s Signed-off-by: Stoiko Ivanov --- src/PVE/JSONSchema.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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); -- 2.39.2