Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zijiren233 committed Feb 24, 2025
1 parent 60b7b65 commit c345fb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/aiproxy/relay/adaptor/openai/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const scannerBufferSize = 2 * bufio.MaxScanTokenSize

var scannerBufferPool = sync.Pool{
New: func() any {
buf := make([]byte, scannerBufferSize, scannerBufferSize)
buf := make([]byte, scannerBufferSize)
return &buf
},
}
Expand Down

0 comments on commit c345fb3

Please sign in to comment.