forget: Print policy

This commit is contained in:
Alexander Neumann committed 2018-03-30 10:24:26 +02:00
1 parent a4ff591165
commit d3f9c8b362
2 files changed
+35

No files matched your search

+2
View File
@@ -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 {