From da9f41f5ce73c025c9e2c981facba7849192da6e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Fri, 5 Nov 2021 14:03:45 +0100 Subject: [PATCH] schema: rename storagepair to storage-pair MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit more consistent with the other options/formats like pve-storage-id Signed-off-by: Fabian Grünbichler Reviewed-by: Fabian Ebner --- src/PVE/JSONSchema.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm index 71df690..52b3125 100644 --- a/src/PVE/JSONSchema.pm +++ b/src/PVE/JSONSchema.pm @@ -286,9 +286,9 @@ my $verify_idpair = sub { }; # note: this only checks a single list entry -# when using a storagepair-list map, you need to pass the full parameter to +# when using a storage-pair-list map, you need to pass the full parameter to # parse_idmap -register_format('storagepair', \&verify_storagepair); +register_format('storage-pair', \&verify_storagepair); sub verify_storagepair { my ($storagepair, $noerr) = @_; return $verify_idpair->($storagepair, $noerr, 'pve-storage-id'); -- 2.39.2