]> git.proxmox.com Git - pmg-api.git/commitdiff
api: pbs job: fix some schema meta errors
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 17 Nov 2020 13:44:43 +0000 (14:44 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 17 Nov 2020 13:44:46 +0000 (14:44 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PMG/API2/PBS/Job.pm

index 9b289387a7213434c07566900de9fd664e886e5c..1b5e8cba9116a214707a34794c63a140aa1734fb 100644 (file)
@@ -186,7 +186,7 @@ __PACKAGE__->register_method ({
                type => 'string', format => 'pve-configid',
            },
            time => {
-               description => "Backup time in RFC 3399 format",
+               description => "Backup time in RFC 3339 format",
                type => 'string',
            },
        },
@@ -390,7 +390,7 @@ __PACKAGE__->register_method ({
            delay => {
                description => "Randomized delay to add to the starttime (RandomizedDelaySec setting of the systemd.timer)",
                type => 'string', pattern => '[0-9a-zA-Z. ]+',
-               default => 'daily', optional => 1,
+               default => '5min', optional => 1,
            },
        },
     },
@@ -472,7 +472,7 @@ __PACKAGE__->register_method ({
            delay => {
                description => "Randomized delay to add to the starttime (RandomizedDelaySec setting of the systemd.timer)",
                type => 'string', pattern => '[0-9a-zA-Z. ]+',
-               default => 'daily', optional => 1,
+               default => '5min', optional => 1,
            },
            unitfile => {
                description => "unit file for the systemd.timer unit",