From 4e2de564ce89b3191f731df535fdd279a92e0630 Mon Sep 17 00:00:00 2001 From: "xiangzhou.guo" Date: Thu, 16 Dec 2021 20:25:28 +0800 Subject: [PATCH] modify 'Root Coord' to 'RootCoord' (#13492) Signed-off-by: xiangzhou.guo --- internal/allocator/id.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/allocator/id.go b/internal/allocator/id.go index 42849cbb8e..e3cceec674 100644 --- a/internal/allocator/id.go +++ b/internal/allocator/id.go @@ -55,7 +55,7 @@ type IDAllocator struct { PeerID UniqueID } -// NewIDAllocator creates an ID Allocator allocate Unique and monotonically increasing IDs from Root Coord. +// NewIDAllocator creates an ID Allocator allocate Unique and monotonically increasing IDs from RootCoord. func NewIDAllocator(ctx context.Context, idAlloctor idAllocatorInterface, peerID UniqueID) (*IDAllocator, error) { ctx1, cancel := context.WithCancel(ctx) a := &IDAllocator{