mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-31 18:10:50 +01:00
fix: test case issue
This commit is contained in:
@@ -116,11 +116,11 @@ func newGrpcServer() *GrpcServer {
|
||||
svr.svr = grpc.NewServer(
|
||||
grpcmiddleware.WithUnaryServerChain(
|
||||
grpcrecovery.UnaryServerInterceptor(recoveryOpts...),
|
||||
grpcauth.UnaryServerInterceptor(middlewares.GetAuthTokenFunc()),
|
||||
grpcauth.UnaryServerInterceptor(middlewares.GetGrpcServerAuthTokenFunc()),
|
||||
),
|
||||
grpcmiddleware.WithStreamServerChain(
|
||||
grpcrecovery.StreamServerInterceptor(recoveryOpts...),
|
||||
grpcauth.StreamServerInterceptor(middlewares.GetAuthTokenFunc()),
|
||||
grpcauth.StreamServerInterceptor(middlewares.GetGrpcServerAuthTokenFunc()),
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user