Skip to content

Commit

Permalink
Remove TODO
Browse files Browse the repository at this point in the history
Signed-off-by: Arve Knudsen <[email protected]>
  • Loading branch information
aknuds1 committed Jun 7, 2023
1 parent c9f047c commit 301e50b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ring/lifecycler.go
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,6 @@ func (i *Lifecycler) autoJoin(ctx context.Context, targetState InstanceState) er
// At this point, we should not have any tokens, and we should be in PENDING state.
myTokens, takenTokens := ringDesc.TokensFor(i.ID)
if len(myTokens) > 0 {
// TODO: Should we log this case as an error, as we don't treat it as one?
level.Error(i.logger).Log("msg", "tokens already exist for this instance - wasn't expecting any!", "num_tokens", len(myTokens), "ring", i.RingName)
}

Expand Down

0 comments on commit 301e50b

Please sign in to comment.