From 240e8a3258a1d147db04c5aa2f4b37fa32fdfced Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Wed, 17 Nov 2021 22:07:13 +0800 Subject: [PATCH] [skip ci]Fix golint for AllocID in rootcoord (#12038) Signed-off-by: Cai.Zhang --- internal/distributed/rootcoord/service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/distributed/rootcoord/service.go b/internal/distributed/rootcoord/service.go index 581a9b06e9..5b90c8f79a 100644 --- a/internal/distributed/rootcoord/service.go +++ b/internal/distributed/rootcoord/service.go @@ -365,6 +365,7 @@ func (s *Server) AllocTimestamp(ctx context.Context, in *rootcoordpb.AllocTimest return s.rootCoord.AllocTimestamp(ctx, in) } +// AllocID allocates an ID func (s *Server) AllocID(ctx context.Context, in *rootcoordpb.AllocIDRequest) (*rootcoordpb.AllocIDResponse, error) { return s.rootCoord.AllocID(ctx, in) }