Commit 0f3fe02e authored by Brian Downs's avatar Brian Downs

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: 's avatarBrian Downs <brian.downs@gmail.com>
parent dc1d86e6
...@@ -827,8 +827,6 @@ func (e *ETCD) Snapshot(ctx context.Context, config *config.Control) error { ...@@ -827,8 +827,6 @@ func (e *ETCD) Snapshot(ctx context.Context, config *config.Control) error {
return errors.Wrap(err, "failed to apply s3 snapshot retention") return errors.Wrap(err, "failed to apply s3 snapshot retention")
} }
} }
return nil
} }
// check if we need to perform a retention check // check if we need to perform a retention check
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment