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:
Fabian Ebner 2022-07-20 12:59:42 +02:00 committed by Wolfgang Bumiller
parent 01d2fb7844
commit e1fa96e197

View File

@ -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 {