[skip e2e] Add comment to datacoord handler (#13555)

Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
pull/13466/head
edward.zeng 2021-12-17 18:05:24 +08:00 committed by GitHub
parent f9f25057ea
commit 5431e475ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -119,6 +119,7 @@ func trimSegmentInfo(info *datapb.SegmentInfo) *datapb.SegmentInfo {
}
}
// GetCollection returns collection info with specified collection id
func (h *ServerHandler) GetCollection(ctx context.Context, collectionID UniqueID) *datapb.CollectionInfo {
coll := h.s.meta.GetCollection(collectionID)
if coll != nil {