Skip to content

Commit

Permalink
refactor: rm logs
Browse files Browse the repository at this point in the history
  • Loading branch information
w-h-a committed Oct 15, 2024
1 parent 889ff11 commit e3111f6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions telemetry/tracev2/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"context"
"encoding/hex"

"github.com/w-h-a/pkg/telemetry/log"
"github.com/w-h-a/pkg/utils/metadatautils"
)

Expand All @@ -27,10 +26,8 @@ func TraceParentFromContext(ctx context.Context) (traceparent [16]byte, found bo

decoded, err := hex.DecodeString(traceId)
if err == nil {
log.Infof("IT WAS A HEX %s", traceId)
copy(traceparent[:], decoded)
} else {
log.Infof("IT WAS NOT A HEX %s", traceId)
copy(traceparent[:], traceId)
}

Expand Down

0 comments on commit e3111f6

Please sign in to comment.