Skip to content

Commit

Permalink
fix review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Ye <yb532204897@gmail.com>
  • Loading branch information
yeya24 committed Nov 21, 2020
1 parent 0064d3a commit e8b3656
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 36 deletions.
6 changes: 3 additions & 3 deletions cmd/thanos/tools_bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -454,11 +454,11 @@ func registerBucketReplicate(app extkingpin.AppClause, objStoreConfig *extflag.P

blockIDs := make([]ulid.ULID, 0, len(*ids))
for _, id := range *ids {
if bid, err := ulid.Parse(id); err != nil {
bid, err := ulid.Parse(id)
if err != nil {
return errors.Wrap(err, "invalid ULID found in --id flag")
} else {
blockIDs = append(blockIDs, bid)
}
blockIDs = append(blockIDs, bid)
}

return replicate.RunReplicate(
Expand Down
33 changes: 0 additions & 33 deletions pkg/compactv2/modifiers_test.go

This file was deleted.

0 comments on commit e8b3656

Please sign in to comment.