mirror of
git://git.proxmox.com/git/pve-guest-common.git
synced 2025-01-31 01:47:21 +03:00
storage tunnel: fix schema definitions
to avoid breakage with schema validation turned on. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
ff2208849c
commit
5dbf4609bd
@ -128,8 +128,11 @@ sub storage_migrate {
|
||||
our $cmd_schema = {
|
||||
bwlimit => {
|
||||
storages => {
|
||||
type => 'string',
|
||||
format => 'pve-storage-id-list',
|
||||
type => 'array',
|
||||
members => {
|
||||
type => 'string',
|
||||
format => 'pve-storage-id',
|
||||
},
|
||||
description => "Storage for which bwlimit is queried",
|
||||
},
|
||||
bwlimit => {
|
||||
@ -150,7 +153,11 @@ our $cmd_schema = {
|
||||
type => 'string',
|
||||
description => 'volume name to use as preferred target volume name',
|
||||
},
|
||||
format => PVE::JSONSchema::get_standard_option('pve-qm-image-format'),
|
||||
format => {
|
||||
type => 'string',
|
||||
format => 'pve-storage-format',
|
||||
description => 'preferred format for the target volume',
|
||||
},
|
||||
export_formats => {
|
||||
type => 'string',
|
||||
description => 'list of supported export formats',
|
||||
|
Loading…
x
Reference in New Issue
Block a user