mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-16 21:21:12 +00:00
api: backup: update: allow only deleting
Previously, it was required to set something at the same time. Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
bda3f2aab7
commit
659032f48e
@ -443,7 +443,7 @@ __PACKAGE__->register_method({
|
||||
|
||||
my $jobs = $data->{jobs} || [];
|
||||
|
||||
die "no options specified\n" if !scalar(keys %$param);
|
||||
die "no options specified\n" if !scalar(keys $param->%*) && !scalar(keys $delete->%*);
|
||||
|
||||
PVE::VZDump::verify_vzdump_parameters($param);
|
||||
my $opts = PVE::VZDump::JobBase->check_config($id, $param, 0, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user