mirror of
https://git.proxmox.com/git/pve-common
synced 2025-04-28 15:57:11 +00:00
pbs client: forget snapshot: suppress output
Otherwise, there will be Result: { "data": null } when calling via a CLI tool for example. This also makes it consistent with PVE in preparation to switch to using PBSClient there. Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
01d2fb7844
commit
e1fa96e197
@ -318,7 +318,7 @@ sub forget_snapshot {
|
||||
|
||||
(my $namespace, $snapshot) = split_namespaced_parameter($snapshot);
|
||||
|
||||
return run_raw_client_cmd($self, 'forget', ["$snapshot"], namespace => $namespace);
|
||||
return run_client_cmd($self, 'forget', ["$snapshot"], 1, undef, $namespace)
|
||||
};
|
||||
|
||||
sub prune_group {
|
||||
|
Loading…
Reference in New Issue
Block a user