Skip to content

Commit

Permalink
got linted.
Browse files Browse the repository at this point in the history
Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
  • Loading branch information
cyriltovena committed Mar 3, 2021
1 parent a8600b5 commit 845751c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/logql/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ func (Streams) String() string {
return ""
}

func (ss Streams) lines() int64 {
func (streams Streams) lines() int64 {
var res int64
for _, s := range ss {
for _, s := range streams {
res += int64(len(s.Entries))
}
return res
Expand Down
1 change: 0 additions & 1 deletion pkg/logql/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ func RecordMetrics(ctx context.Context, p Params, status string, stats stats.Res
if err != nil {
level.Warn(logger).Log("msg", "error parsing query type", "err", err)
}
rt = string(GetRangeType(p))

// Tag throughput metric by latency type based on a threshold.
// Latency below the threshold is fast, above is slow.
Expand Down

0 comments on commit 845751c

Please sign in to comment.