Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Skyenought committed Jul 29, 2024
1 parent 4bacdde commit 9425b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opentelemetry/hertz/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func main() {

h.GET("/ping", func(ctx context.Context, c *app.RequestContext) {
req := &api.Request{Message: "my request"}
resp, err := client.Echo(c, req)
resp, err := client.Echo(ctx, req)
if err != nil {
hlog.Errorf(err.Error())
}
Expand Down

0 comments on commit 9425b22

Please sign in to comment.