Commit 1521e3b0 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 74c67115
...@@ -844,8 +844,6 @@ func (e *ETCD) Snapshot(ctx context.Context, config *config.Control) error { ...@@ -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 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