modify 'Root Coord' to 'RootCoord' (#13492)

Signed-off-by: xiangzhou.guo <xiangzhou.guo@zilliz.com>
This commit is contained in:
xiangzhou.guo 2021-12-16 20:25:28 +08:00 committed by GitHub
parent 930e9daeaf
commit 4e2de564ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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{