Skip to content

Commit

Permalink
main: fix repair
Browse files Browse the repository at this point in the history
  • Loading branch information
fabxc committed Mar 1, 2018
1 parent d39e886 commit f55d06a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/thanos/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func runBucketCheck(logger log.Logger, bkt objstore.Bucket, repair bool) error {
for _, id := range all {
level.Info(logger).Log("msg", "verify block", "id", id)

if err := verifyBlock(ctx, bkt, id); err != nil {
if err = verifyBlock(ctx, bkt, id); err != nil {
level.Warn(logger).Log("msg", "detected issue", "id", id, "err", err)
}
if err == nil || !repair {
Expand Down

0 comments on commit f55d06a

Please sign in to comment.