fix the static ckeck linter issues

This commit is contained in:
Sergey Kanzhelev
2025-09-08 19:10:28 +00:00
parent 2995ae12e0
commit a3a4504706
14 changed files with 52 additions and 47 deletions
+2 -2
View File
@@ -47,8 +47,8 @@ type logBuffer struct {
// lines of patterns we support.
func NewLogBuffer(maxLines int) *logBuffer {
return &logBuffer{
buffer: make([]*types.Log, maxLines, maxLines),
msg: make([]string, maxLines, maxLines),
buffer: make([]*types.Log, maxLines),
msg: make([]string, maxLines),
max: maxLines,
}
}