Skip to content

Commit

Permalink
fix(jaeger): fix jaeger pkg import and function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
aeddi committed Oct 1, 2018
1 parent 415e0dc commit 2844242
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/cmd/berty/client.go
Expand Up @@ -13,6 +13,7 @@ import (

"berty.tech/core/api/client"
"berty.tech/core/api/client/jsonclient"
"berty.tech/core/pkg/jaeger"

"github.com/grpc-ecosystem/go-grpc-middleware"
"github.com/grpc-ecosystem/go-grpc-middleware/tracing/opentracing"
Expand Down Expand Up @@ -69,7 +70,7 @@ func newClientCommand() *cobra.Command {
func clientServerStream(opts *clientOptions) error {
ctx := context.Background()

tracer, closer, err := initTracer("berty-client")
tracer, closer, err := jaeger.InitTracer("berty-client")
if err != nil {
return err
}
Expand Down Expand Up @@ -137,7 +138,7 @@ func clientServerStream(opts *clientOptions) error {
func clientUnary(opts *clientOptions) error {
ctx := context.Background()

tracer, closer, err := initTracer("berty-client")
tracer, closer, err := jaeger.InitTracer("berty-client")
if err != nil {
return err
}
Expand Down

0 comments on commit 2844242

Please sign in to comment.