Browse Source

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
commit
66ed6efd57
  1. 2
      pkg/etcd/etcd.go

2
pkg/etcd/etcd.go

@ -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