Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
Signed-off-by: Ruben Vargas <[email protected]>
  • Loading branch information
rubenvp8510 committed Dec 19, 2023
1 parent 6588e7f commit ce98209
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions modules/frontend/tagsharding_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,16 +205,6 @@ type tagsV2ResultsHandler struct {
resultsCombiner map[string]*util.DistinctStringCollector
}

func (h *tagsV2ResultsHandler) parseRequest(r *http.Request) (tagSearchReq, error) {
searchReq, err := api.ParseSearchTagsRequest(r)
if err != nil {
return nil, err
}
return &tagsSearchRequest{
request: *searchReq,
}, nil
}

func (h *tagsV2ResultsHandler) shouldQuit() bool {
for _, combiner := range h.resultsCombiner {
if combiner.Exceeded() {
Expand Down Expand Up @@ -274,16 +264,6 @@ type tagValuesV2ResultsHandler struct {
resultsCombiner *util.DistinctValueCollector[tempopb.TagValue]
}

func (h *tagValuesV2ResultsHandler) parseRequest(r *http.Request) (tagSearchReq, error) {
searchReq, err := api.ParseSearchTagValuesRequest(r)
if err != nil {
return nil, err
}
return &tagValueSearchRequest{
request: *searchReq,
}, nil
}

func (h *tagValuesV2ResultsHandler) shouldQuit() bool {
return h.resultsCombiner.Exceeded()
}
Expand Down

0 comments on commit ce98209

Please sign in to comment.