Skip to content

Commit 97aca17

Browse files
committed
fixup - gofmt
1 parent bd0c833 commit 97aca17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diskqueue.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ func (d *diskQueue) writeOne(data []byte) error {
366366
}
367367

368368
// will not wrap-around if maxBytesPerFile + maxMsgSize < Int64Max
369-
if d.writePos > 0 && d.writePos + totalBytes > d.maxBytesPerFile {
369+
if d.writePos > 0 && d.writePos+totalBytes > d.maxBytesPerFile {
370370
if d.readFileNum == d.writeFileNum {
371371
d.maxBytesPerFileRead = d.writePos
372372
}

0 commit comments

Comments
 (0)