mirror of https://github.com/milvus-io/milvus.git
[skip e2e]Add comment for rmq reader (#13625)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>pull/13662/head
parent
371017ad39
commit
d382d596da
|
@ -27,6 +27,7 @@ func (rr *rmqReader) Next(ctx context.Context) (Message, error) {
|
||||||
return msg, nil
|
return msg, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// HasNext returns whether reader has next message
|
||||||
func (rr *rmqReader) HasNext() bool {
|
func (rr *rmqReader) HasNext() bool {
|
||||||
return rr.r.HasNext()
|
return rr.r.HasNext()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue