removed unnacessary line

This commit is contained in:
Tobias Klein 2017-09-10 10:41:07 +02:00
parent 2d73a273af
commit a677f1139a

View file

@ -91,7 +91,6 @@ func ApplyPolicy(list Snapshots, p ExpirePolicy) (keep, remove Snapshots) {
} }
for nr, cur := range list { for nr, cur := range list {
nr = nr + 1
var keepSnap bool var keepSnap bool
// Tags are handled specially as they are not counted. // Tags are handled specially as they are not counted.