mirror of https://github.com/milvus-io/milvus.git
[skip e2e]Fix allocator variable typo (#13632)
Signed-off-by: godchen0212 <qingxiang.chen@zilliz.com>pull/13667/head
parent
9576ec4dcb
commit
cb570a5a3a
|
@ -56,7 +56,7 @@ type IDAllocator struct {
|
|||
}
|
||||
|
||||
// NewIDAllocator creates an ID Allocator allocate Unique and monotonically increasing IDs from RootCoord.
|
||||
func NewIDAllocator(ctx context.Context, idAlloctor idAllocatorInterface, peerID UniqueID) (*IDAllocator, error) {
|
||||
func NewIDAllocator(ctx context.Context, idAllocator idAllocatorInterface, peerID UniqueID) (*IDAllocator, error) {
|
||||
ctx1, cancel := context.WithCancel(ctx)
|
||||
a := &IDAllocator{
|
||||
Allocator: Allocator{
|
||||
|
@ -65,7 +65,7 @@ func NewIDAllocator(ctx context.Context, idAlloctor idAllocatorInterface, peerID
|
|||
Role: "IDAllocator",
|
||||
},
|
||||
countPerRPC: idCountPerRPC,
|
||||
idAllocator: idAlloctor,
|
||||
idAllocator: idAllocator,
|
||||
PeerID: peerID,
|
||||
}
|
||||
a.TChan = &EmptyTicker{}
|
||||
|
|
Loading…
Reference in New Issue