diff --git a/internal/datanode/allocator.go b/internal/datanode/allocator.go index 4db8f53d897cbad48ed2513a10565ca6f87072fb..ebb6a0bc86611674b2cc25c9dcb23d689cce0092 100644 --- a/internal/datanode/allocator.go +++ b/internal/datanode/allocator.go @@ -40,7 +40,7 @@ func newAllocator(s types.RootCoord) *allocator { } } -// allocID allocat one ID from rootCoord +// allocID allocate one ID from rootCoord func (alloc *allocator) allocID() (UniqueID, error) { ctx := context.TODO() resp, err := alloc.rootCoord.AllocID(ctx, &rootcoordpb.AllocIDRequest{