You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
====================================================================================================
append to slice `fields` with non-zero initialized length at https://github.com/lindb/lindb/blob/main/prometheus/engine.go#L50:12
====================================================================================================
Describe the bug
I was running github actions to run linter makezero for top github golang repos.
see issues alingse/go-linter-runner#1
and the github actions output https://github.com/alingse/go-linter-runner/actions/runs/9243005104/job/25426566107
the fields will be [empty, empty, Any(k,v), Any(k,v)]
To Reproduce (Required)
Steps to reproduce the behavior:
Expected behavior (Required)
change
fields := make([]zap.Field, len(keyvals)/2)
tofields := make([]zap.Field, 0, len(keyvals)/2)
What's your LinDB version? (Required)
Insert output of
lind version
here.Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: