Skip to content

Commit db0bcbb

Browse files
Merge pull request #2277 from streamdp/patch-1
Update tutorial-two-go-stream.md
2 parents 7c208ad + 49f7028 commit db0bcbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/tutorial-two-go-stream.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func handlePublishConfirm(confirms stream.ChannelPublishConfirm, messageCount in
115115
go func() {
116116
confirmedCount := 0
117117
for confirmed := range confirms {
118-
for _, _ = range confirmed {
118+
for _, msg := range confirmed {
119119
if msg.IsConfirmed() {
120120
confirmedCount++
121121
if confirmedCount == messageCount {

0 commit comments

Comments
 (0)