forget: Print policy

This commit is contained in:
Alexander Neumann
2018-03-30 10:24:26 +02:00
parent a4ff591165
commit d3f9c8b362
2 changed files with 35 additions and 0 deletions

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 {