Skip to content

Commit 8d08898

Browse files
committed
address arajan's comments
1 parent 0637030 commit 8d08898

File tree

1 file changed

+1
-1
lines changed
  • examples/features/opentelemetry/server

1 file changed

+1
-1
lines changed

examples/features/opentelemetry/server/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ var (
4040
prometheusEndpoint = flag.String("prometheus_endpoint", ":9464", "the Prometheus exporter endpoint")
4141
)
4242

43+
// server is used to implement helloworld.GreeterServer.
4344
type server struct {
4445
pb.UnimplementedGreeterServer
4546
addr string
4647
}
4748

4849
// SayHello implements helloworld.GreeterServer
4950
func (s *server) SayHello(_ context.Context, in *pb.HelloRequest) (*pb.HelloReply, error) {
50-
log.Printf("Received: %v", in.GetName())
5151
return &pb.HelloReply{Message: "Hello " + in.GetName()}, nil
5252
}
5353

0 commit comments

Comments
 (0)