]> git.proxmox.com Git - pve-common.git/commitdiff
schema: rename storagepair to storage-pair
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 5 Nov 2021 13:03:45 +0000 (14:03 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 11 Nov 2021 09:39:58 +0000 (10:39 +0100)
more consistent with the other options/formats like pve-storage-id

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Reviewed-by: Fabian Ebner <f.ebner@proxmox.com>
src/PVE/JSONSchema.pm

index 71df690b56d846795d556583509639ed8d01461f..52b31250dc4e945e24b4cdaca994e14879a626d6 100644 (file)
@@ -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');