]> git.proxmox.com Git - pve-storage.git/commitdiff
plugin schema: improve description of 'nodes' property
authorFiona Ebner <f.ebner@proxmox.com>
Wed, 4 Oct 2023 07:35:41 +0000 (09:35 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 30 Jan 2024 09:38:38 +0000 (10:38 +0100)
The default description doesn't make it clear what the property is
used for in the context of storages.

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

index 815773bd97f4e337151424d5e8b6764fa441b8fb..fbbf491886f8fe955f3f3c2fb46ef27c4417c701 100644 (file)
@@ -138,7 +138,10 @@ my $defaultData = {
        type => { description => "Storage type." },
        storage => get_standard_option('pve-storage-id',
            { completion => \&PVE::Storage::complete_storage }),
-       nodes => get_standard_option('pve-node-list', { optional => 1 }),
+       nodes => get_standard_option('pve-node-list', {
+           description => "List of nodes for which the storage configuration applies.",
+           optional => 1,
+       }),
        content => {
            description => "Allowed content types.\n\nNOTE: the value " .
                "'rootdir' is used for Containers, and value 'images' for VMs.\n",