[skip e2e]Add comment for rmq reader (#13625)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
yukun 2021-12-17 19:13:06 +08:00 committed by GitHub
parent 371017ad39
commit d382d596da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,7 @@ func (rr *rmqReader) Next(ctx context.Context) (Message, error) {
return msg, nil
}
// HasNext returns whether reader has next message
func (rr *rmqReader) HasNext() bool {
return rr.r.HasNext()
}