]> git.proxmox.com Git - pve-manager.git/commit - PVE/API2/Backup.pm
fix #3976: api/backup: make schedule/starttime truly optional on update
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 1 Apr 2022 06:14:13 +0000 (08:14 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 1 Apr 2022 15:52:10 +0000 (17:52 +0200)
commit81ba0803d54baad7b6fcac2a0de8752f8e5da948
treed413311fac6c0548baff56473fe0c21e441e9bd8
parentd0477f12ad76eabe1aa422e405362f0819cba760
fix #3976: api/backup: make schedule/starttime truly optional on update

on create we require either starttime (+dow) or a schedule, but when
updating an existing job, this is not necessary

before we changed to schedules, the starttime was not optional either on
update, but i think there is no reason to require the user to send the
schedule/startime along every time.

the gui will send all values every time, so that was never a problem there

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/API2/Backup.pm