Skip to content

Commit fed28b1

Browse files
authored
delete dead code in resultcache (#6825)
Signed-off-by: SungJin1212 <[email protected]>
1 parent bf850cc commit fed28b1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/querier/tripperware/queryrange/results_cache.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,6 @@ func (s resultsCache) Do(ctx context.Context, r tripperware.Request) (tripperwar
240240
}
241241

242242
key := s.splitter.GenerateCacheKey(ctx, tenant.JoinTenantIDs(tenantIDs), r)
243-
if err != nil {
244-
return nil, httpgrpc.Errorf(http.StatusBadRequest, "%s", err.Error())
245-
}
246243

247244
var (
248245
extents []tripperware.Extent

0 commit comments

Comments
 (0)