5
0
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:
Fabian Grünbichler 2024-05-15 12:10:07 +02:00 committed by Thomas Lamprecht
parent ff2208849c
commit 5dbf4609bd

View File

@ -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',