Skip to content

Commit c201805

Browse files
author
anahan
committed
Make linter happy
1 parent 0c1a540 commit c201805

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/phpfpm/slowlog_parser.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ func (slp *SlowlogParser) Parse(ctx context.Context, r io.Reader, out chan Slowl
172172
out <- entry
173173
entry = slp.createEntry()
174174
state = stateParseHeader
175-
case line := <-lineCh:
176-
if slp.parseLine(line, &entry, &state) {
175+
case lineBuf := <-lineCh:
176+
if slp.parseLine(lineBuf, &entry, &state) {
177177
timeoutTimer.Stop()
178178
out <- entry
179179
entry = slp.createEntry()

0 commit comments

Comments
 (0)