[skip e2e]Add comment for pulsar client (#14362)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
yukun 2021-12-28 18:56:09 +08:00 committed by GitHub
parent c61bcdf40e
commit c76ae203ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,6 +113,7 @@ func (pc *pulsarClient) StringToMsgID(id string) (MessageID, error) {
return &pulsarID{messageID: pID}, nil
}
// BytesToMsgID converts []byte id to MessageID type
func (pc *pulsarClient) BytesToMsgID(id []byte) (MessageID, error) {
pID, err := DeserializePulsarMsgID(id)
if err != nil {