[skip ci]Fix allocator typo (#10998)

Signed-off-by: godchen <qingxiang.chen@zilliz.com>
This commit is contained in:
godchen 2021-11-01 16:54:07 +08:00 committed by GitHub
parent 0970aea7e7
commit 7108612398
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ func (alloc *rootCoordAllocator) allocTimestamp(ctx context.Context) (Timestamp,
return resp.Timestamp, nil
}
// allocID allocate an `UniqueID` from RootCoord, invoking AllocID grpc
// allocID allocates an `UniqueID` from RootCoord, invoking AllocID grpc
func (alloc *rootCoordAllocator) allocID(ctx context.Context) (UniqueID, error) {
resp, err := alloc.AllocID(ctx, &rootcoordpb.AllocIDRequest{
Base: &commonpb.MsgBase{