From: Fabian Grünbichler Date: Fri, 5 Nov 2021 13:03:45 +0000 (+0100) Subject: schema: rename storagepair to storage-pair X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=da9f41f5ce73c025c9e2c981facba7849192da6e schema: rename storagepair to storage-pair more consistent with the other options/formats like pve-storage-id Signed-off-by: Fabian Grünbichler Reviewed-by: Fabian Ebner --- 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');