mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comments for StringToMsgID (#9518)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>pull/9509/head
parent
3b7b10c18e
commit
97a6bde82a
|
@ -70,6 +70,7 @@ func (rc *rmqClient) EarliestMessageID() MessageID {
|
|||
return &rmqID{messageID: rID}
|
||||
}
|
||||
|
||||
// StringToMsgID converts string id to MessageID
|
||||
func (rc *rmqClient) StringToMsgID(id string) (MessageID, error) {
|
||||
rID, err := strconv.ParseInt(id, 10, 64)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue