Resolve local retention issue when S3 in use.

Remove early return preventing local retention policy to be enforced
resulting in N number of snapshots being stored.

Signed-off-by: Brian Downs <brian.downs@gmail.com>
pull/3197/head
Brian Downs 4 years ago
parent 3083059953
commit 66ed6efd57

@ -844,8 +844,6 @@ func (e *ETCD) Snapshot(ctx context.Context, config *config.Control) error {
return errors.Wrap(err, "failed to apply s3 snapshot retention")
}
}
return nil
}
// check if we need to perform a retention check

Loading…
Cancel
Save