From cd4205e4473c20d85c6cf0c7b46cf6db695fe2f6 Mon Sep 17 00:00:00 2001 From: godchen Date: Wed, 6 Oct 2021 23:32:27 +0800 Subject: [PATCH] [skip ci]Fix allocator comment typo (#9363) Signed-off-by: godchen0212 --- internal/datanode/allocator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/datanode/allocator.go b/internal/datanode/allocator.go index 4db8f53d89..ebb6a0bc86 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{