diff --git a/agent/agent.go b/agent/agent.go index 423565a..01a0248 100644 --- a/agent/agent.go +++ b/agent/agent.go @@ -51,10 +51,10 @@ type agent struct { } // NewAgent creates a new Agent instance that supports both HTTP and gRPC -func NewAgent(server *transhttp.Server, grpcServer *transgrpc.Server) Agent { +func NewAgent(httpServer *transhttp.Server, grpcServer *transgrpc.Server) Agent { return &agent{ GRPCAgent: NewGRPC(grpcServer), - HTTPAgent: NewHTTP(server), + HTTPAgent: NewHTTP(httpServer), } }