]> git.proxmox.com Git - pve-common.git/commitdiff
json schema: add format description for pve-storage-id standard option master
authorFiona Ebner <f.ebner@proxmox.com>
Thu, 11 Apr 2024 09:29:29 +0000 (11:29 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 11 Apr 2024 15:19:52 +0000 (17:19 +0200)
so that the option can be used as part of a property string.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
src/PVE/JSONSchema.pm

index 4bf0e7890a1bdd81f366f156e8fcfa8902ec5987..115f811043360204c2ab07e86b8feb5278f2d594 100644 (file)
@@ -84,6 +84,7 @@ register_standard_option('pve-iface', {
 register_standard_option('pve-storage-id', {
     description => "The storage identifier.",
     type => 'string', format => 'pve-storage-id',
 register_standard_option('pve-storage-id', {
     description => "The storage identifier.",
     type => 'string', format => 'pve-storage-id',
+    format_description => 'storage ID',
 });
 
 register_standard_option('pve-bridge-id', {
 });
 
 register_standard_option('pve-bridge-id', {