Skip to content

Commit 37941e3

Browse files
committed
fix slog lint err
1 parent b2376a5 commit 37941e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rebuf/rebuf.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func (rebuf *Rebuf) Write(data []byte) error {
100100
rebuf.segmentCount--
101101
}
102102

103-
rebuf.log.Info("Log size will be greater than %d. Moving to segment %d \n", rebuf.logSize, rebuf.currentSegmentId+1)
103+
rebuf.log.Info("Log size will be greater than", "logsize", rebuf.logSize, "Moving to", rebuf.currentSegmentId+1)
104104
rebuf.bufWriter.Flush()
105105
rebuf.tmpLogFile.Sync()
106106

0 commit comments

Comments
 (0)