--- Begin Message ---
This property, if present, is the user-friendly textual representation
of the storage pool type. This gives a way for out-of-tree storage
plugins to have a properly formatted storage "Type" in various
front-end UI widgets.

Signed-off-by: Joshua Huber <[email protected]>
---
 PVE/Storage/Plugin.pm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/PVE/Storage/Plugin.pm b/PVE/Storage/Plugin.pm
index 6673409..a7d0733 100644
--- a/PVE/Storage/Plugin.pm
+++ b/PVE/Storage/Plugin.pm
@@ -172,6 +172,11 @@ my $defaultData = {
            default => 'metadata',
            optional => 1,
        },
+       'type-text' => {
+           description => "User-friendly storage type name",
+           type => 'string',
+           optional => 1,
+       },
     },
 };
 
-- 
2.34.1



--- End Message ---
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to