]> git.proxmox.com Git - pve-manager.git/commitdiff
jobs: limit ID to maximal 64 characters
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 3 Dec 2021 09:01:17 +0000 (10:01 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 3 Dec 2021 09:01:17 +0000 (10:01 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Jobs/Plugin.pm

index 47f93d3044394586fba1a32b413a7986906c7867..6098360b3ba3f33093296abd9024545a69b21727 100644 (file)
@@ -20,6 +20,7 @@ my $defaultData = {
            description => "The ID of the VZDump job.",
            type => 'string',
            format => 'pve-configid',
+           maxLength => 64,
        },
        enabled => {
            description => "Determines if the job is enabled.",