pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] sijie closed pull request #2920: Fix typo in consumer code
Date Sun, 04 Nov 2018 07:40:07 GMT
sijie closed pull request #2920: Fix typo in consumer code
URL: https://github.com/apache/pulsar/pull/2920

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/site2/docs/client-libraries-go.md b/site2/docs/client-libraries-go.md
index 25d1958a97..c35e139de8 100644
--- a/site2/docs/client-libraries-go.md
+++ b/site2/docs/client-libraries-go.md
@@ -235,7 +235,7 @@ if err != nil {
 defer consumer.Close()
-for cm := range channel {
+for cm := range msgChannel {
     msg := cm.Message
     fmt.Printf("Message ID: %s", msg.ID())


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

View raw message