Skip to content

Commit

Permalink
Invert error check after lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zalegrala committed Apr 26, 2024
1 parent 5edc7b3 commit 7134577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tempodb/blocklist/poller.go
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ func (p *Poller) deleteTenant(ctx context.Context, tenantID string) error {
// If we have any error other than that which indicates that the tenant index
// call was made successfully, and that it does not exist, do nothing. Only
// proceed if we know that the index does not exist.
if errors.Is(err, backend.ErrDoesNotExist) {
if !errors.Is(err, backend.ErrDoesNotExist) {
return nil
}

Expand Down

0 comments on commit 7134577

Please sign in to comment.