[skip ci]Fix allocator typo (#10996)

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

View File

@ -45,7 +45,7 @@ func newRootCoordAllocator(rootCoordClient types.RootCoord) allocator {
}
}
// allocTimestamp allocate a Timestamp
// allocTimestamp allocates a Timestamp
// invoking RootCoord `AllocTimestamp`
func (alloc *rootCoordAllocator) allocTimestamp(ctx context.Context) (Timestamp, error) {
resp, err := alloc.AllocTimestamp(ctx, &rootcoordpb.AllocTimestampRequest{