[skip ci]Fix golint for AllocID in rootcoord (#12038)

Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
This commit is contained in:
cai.zhang 2021-11-17 22:07:13 +08:00 committed by GitHub
parent 7b65cfb6ab
commit 240e8a3258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}