Skip to content

Commit

Permalink
remove unnecessary logging
Browse files Browse the repository at this point in the history
  • Loading branch information
felipejfc committed Jul 19, 2018
1 parent 736d89d commit de65399
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion service/remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ func (r *RemoteService) AddRemoteBindingListener(bindingListener cluster.RemoteB
// Call processes a remote call
func (r *RemoteService) Call(ctx context.Context, req *protos.Request) (*protos.Response, error) {
c, err := util.GetContextFromRequest(req, r.server.ID)
fmt.Printf("hello, got this ctx: %s", c)
var res *protos.Response
if err != nil {
res = &protos.Response{
Expand Down
2 changes: 0 additions & 2 deletions util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ package util
import (
"context"
"errors"
"fmt"
"os"
"reflect"
"runtime/debug"
Expand Down Expand Up @@ -143,7 +142,6 @@ func GetContextFromRequest(req *protos.Request, serverID string) (context.Contex
"peer.service": pcontext.GetFromPropagateCtx(ctx, constants.PeerServiceKey),
}
parent, err := tracing.ExtractSpan(ctx)
fmt.Printf("parent span is %s", parent)
if err != nil {
logger.Log.Warnf("failed to retrieve parent span: %s", err.Error())
}
Expand Down

0 comments on commit de65399

Please sign in to comment.