Skip to content

Commit

Permalink
align grpc only
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Jan 8, 2025
1 parent d0a5250 commit e2a59aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,7 @@ func startGrpcServer(
clientCtx = clientCtx.WithGRPCClient(grpcClient)
svrCtx.Logger.Debug("gRPC client assigned to client context", "target", config.Address)

config.SkipCheckHeader = svrCtx.Viper.GetBool(flagGRPCOnly)
grpcSrv, err := servergrpc.NewGRPCServer(clientCtx, app, config)
if err != nil {
return nil, clientCtx, err
Expand Down

0 comments on commit e2a59aa

Please sign in to comment.