summaryrefslogtreecommitdiff
path: root/vendor/github.com/uber/jaeger-client-go/span_context.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-01-23 06:15:04 -0800
committerGitHub <noreply@github.com>2020-01-23 06:15:04 -0800
commitc5f3899cb4133922a9732aff4680bb7eea3d391b (patch)
tree0c72728147e8162969f8893ab0b1cb3cc7ee4e43 /vendor/github.com/uber/jaeger-client-go/span_context.go
parent4113e7152e19a4f93ce979a5c4cadd763dd37afe (diff)
parentfd36a33dc31bb26182f032b3f3ed9f7b0cfb792c (diff)
downloadpodman-c5f3899cb4133922a9732aff4680bb7eea3d391b.tar.gz
podman-c5f3899cb4133922a9732aff4680bb7eea3d391b.tar.bz2
podman-c5f3899cb4133922a9732aff4680bb7eea3d391b.zip
Merge pull request #4943 from containers/dependabot/go_modules/github.com/uber/jaeger-client-go-2.22.1+incompatible
build(deps): bump github.com/uber/jaeger-client-go from 2.20.1+incompatible to 2.22.1+incompatible
Diffstat (limited to 'vendor/github.com/uber/jaeger-client-go/span_context.go')
-rw-r--r--vendor/github.com/uber/jaeger-client-go/span_context.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/uber/jaeger-client-go/span_context.go b/vendor/github.com/uber/jaeger-client-go/span_context.go
index b7230abfe..1b44f3f8c 100644
--- a/vendor/github.com/uber/jaeger-client-go/span_context.go
+++ b/vendor/github.com/uber/jaeger-client-go/span_context.go
@@ -213,9 +213,9 @@ func (c SpanContext) SetFirehose() {
func (c SpanContext) String() string {
if c.traceID.High == 0 {
- return fmt.Sprintf("%x:%x:%x:%x", c.traceID.Low, uint64(c.spanID), uint64(c.parentID), c.samplingState.stateFlags.Load())
+ return fmt.Sprintf("%016x:%016x:%016x:%x", c.traceID.Low, uint64(c.spanID), uint64(c.parentID), c.samplingState.stateFlags.Load())
}
- return fmt.Sprintf("%x%016x:%x:%x:%x", c.traceID.High, c.traceID.Low, uint64(c.spanID), uint64(c.parentID), c.samplingState.stateFlags.Load())
+ return fmt.Sprintf("%016x%016x:%016x:%016x:%x", c.traceID.High, c.traceID.Low, uint64(c.spanID), uint64(c.parentID), c.samplingState.stateFlags.Load())
}
// ContextFromString reconstructs the Context encoded in a string