mirror of
https://github.com/restic/restic.git
synced 2026-11-08 16:13:38 +00:00
forget: Print policy
This commit is contained in:
1 parent
a4ff591165
commit
d3f9c8b362
2 files changed
+35
No files matched your search
@@ -178,6 +178,8 @@ func runForget(opts ForgetOptions, gopts GlobalOptions, args []string) error {
|
||||
}
|
||||
|
||||
if !policy.Empty() {
|
||||
Verbosef("Applying Policy: %v\n", policy)
|
||||
|
||||
for k, snapshotGroup := range snapshotGroups {
|
||||
var key key
|
||||
if json.Unmarshal([]byte(k), &key) != nil {
|
||||
|
||||
Reference in new issue
Block a user