From 71345779dbe8b75c6dfc571908224747f883ea53 Mon Sep 17 00:00:00 2001 From: Zach Leslie Date: Fri, 26 Apr 2024 16:01:38 +0000 Subject: [PATCH] Invert error check after lint --- tempodb/blocklist/poller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tempodb/blocklist/poller.go b/tempodb/blocklist/poller.go index 0917ba20fb7..de856905459 100644 --- a/tempodb/blocklist/poller.go +++ b/tempodb/blocklist/poller.go @@ -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 }