mirror of
https://github.com/restic/restic.git
synced 2026-11-13 14:42:03 +00:00
forget json output: added id's in snapshots within reasons object
In order to evaluate the keep reasons for snapshots, there should be also the id's to compare it with snapshots within the keep object. (See also Issue #3117) In order to avoid output parameters also changed function addJSONSnapshots to asJSONSnapshots
This commit is contained in:
1 parent
510f6f06b0
commit
df07814ec2
3 files changed
+47
-18
No files matched your search
@@ -0,0 +1,5 @@
|
||||
Enhancement: include snapshot id in reason field of forget JSON output
|
||||
|
||||
The JSON output of the `forget` command now includes the `id` and `short_id` of a snapshot in the `reason` field.
|
||||
|
||||
https://github.com/restic/restic/pull/4737
|
||||
Reference in new issue
Block a user