Skip to content

Commit

Permalink
Itoa feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jpinsonneau committed Aug 3, 2023
1 parent c7ba0a4 commit db67051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/loki/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func moreThanRegex(sb *strings.Builder, value string) {
intVal, _ := strconv.Atoi(value)
for i := 1; i < len(value); i++ {
nextMin := int((intVal / int(math.Pow10(i))) + 1)
nextMinStr := fmt.Sprintf("%d", nextMin)
nextMinStr := strconv.Itoa(nextMin)

sb.WriteRune('|')
if nextMin >= 10 {
Expand Down

0 comments on commit db67051

Please sign in to comment.