mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Fix golint in mq_msgstream (#13917)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com> Co-authored-by: yun.zhang <yun.zhang@zilliz.com>pull/13923/head
parent
7797cd9f30
commit
75010777df
|
@ -131,7 +131,7 @@ func (ms *mqMsgStream) AsConsumer(channels []string, subName string) {
|
||||||
ms.AsConsumerWithPosition(channels, subName, mqclient.SubscriptionPositionEarliest)
|
ms.AsConsumerWithPosition(channels, subName, mqclient.SubscriptionPositionEarliest)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create consumer to receive message from channels, with initial position
|
// AsConsumerWithPosition Create consumer to receive message from channels, with initial position
|
||||||
// if initial position is set to latest, last message in the channel is exclusive
|
// if initial position is set to latest, last message in the channel is exclusive
|
||||||
func (ms *mqMsgStream) AsConsumerWithPosition(channels []string, subName string, position mqclient.SubscriptionInitialPosition) {
|
func (ms *mqMsgStream) AsConsumerWithPosition(channels []string, subName string, position mqclient.SubscriptionInitialPosition) {
|
||||||
for _, channel := range channels {
|
for _, channel := range channels {
|
||||||
|
|
Loading…
Reference in New Issue