[pve-devel] [PATCH common v3 08/22] json schema: add format description for pve-storage-id standard option
    Fiona Ebner 
    f.ebner at proxmox.com
       
    Thu Apr 11 11:29:29 CEST 2024
    
    
  
so that the option can be used as part of a property string.
Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
 src/PVE/JSONSchema.pm | 1 +
 1 file changed, 1 insertion(+)
diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm
index 4bf0e78..115f811 100644
--- a/src/PVE/JSONSchema.pm
+++ b/src/PVE/JSONSchema.pm
@@ -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',
+    format_description => 'storage ID',
 });
 
 register_standard_option('pve-bridge-id', {
-- 
2.39.2
    
    
More information about the pve-devel
mailing list