Skip to content

Commit 0f1fce7

Browse files
committed
fix nits
Signed-off-by: Piotr Piotrowski <[email protected]>
1 parent 278dd07 commit 0f1fce7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jetstreamext/fastpublish.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ func (fp *fastPublisher) ackMsgHandler(msg *nats.Msg) {
593593
return
594594
}
595595
if fp.errHandler != nil {
596-
fp.errHandler(fmt.Errorf("Error processing batch at sequence %d: %w", flowErr.Sequence, flowErr.Error))
596+
fp.errHandler(fmt.Errorf("error processing batch at sequence %d: %w", flowErr.Sequence, flowErr.Error))
597597
}
598598
return
599599
default:

jetstreamext/test/fastpublish_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ func TestFastPublisher(t *testing.T) {
162162
}
163163

164164
if ack.BatchSize != 201 {
165-
t.Fatalf("Expected BatchAck.BatchSize to be 21, got %d", ack.BatchSize)
165+
t.Fatalf("Expected BatchAck.BatchSize to be 201, got %d", ack.BatchSize)
166166
}
167167
})
168168

0 commit comments

Comments
 (0)