summaryrefslogtreecommitdiff
path: root/vendor/github.com/uber/jaeger-client-go/thrift/numeric.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-05-31 16:20:34 +0200
committerGitHub <noreply@github.com>2021-05-31 16:20:34 +0200
commit8f5f0cf44898a5785a0fb2cf814969e13ab17a3c (patch)
treea8cb724a8f7617f9147f9a7b3661cc701b04f8aa /vendor/github.com/uber/jaeger-client-go/thrift/numeric.go
parent60b372b49b53ef4fccb16a366e7133a861143612 (diff)
parentd657a070d36e206b1312db48c26cb72cd26e7202 (diff)
downloadpodman-8f5f0cf44898a5785a0fb2cf814969e13ab17a3c.tar.gz
podman-8f5f0cf44898a5785a0fb2cf814969e13ab17a3c.tar.bz2
podman-8f5f0cf44898a5785a0fb2cf814969e13ab17a3c.zip
Merge pull request #10450 from containers/dependabot/go_modules/github.com/uber/jaeger-client-go-2.29.1incompatible
Bump github.com/uber/jaeger-client-go from 2.28.0+incompatible to 2.29.1+incompatible
Diffstat (limited to 'vendor/github.com/uber/jaeger-client-go/thrift/numeric.go')
-rw-r--r--vendor/github.com/uber/jaeger-client-go/thrift/numeric.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/uber/jaeger-client-go/thrift/numeric.go b/vendor/github.com/uber/jaeger-client-go/thrift/numeric.go
index aa8daa9b5..e4512d204 100644
--- a/vendor/github.com/uber/jaeger-client-go/thrift/numeric.go
+++ b/vendor/github.com/uber/jaeger-client-go/thrift/numeric.go
@@ -69,14 +69,14 @@ func NewNumericFromDouble(dValue float64) Numeric {
func NewNumericFromI64(iValue int64) Numeric {
dValue := float64(iValue)
- sValue := string(iValue)
+ sValue := strconv.FormatInt(iValue, 10)
isNil := false
return &numeric{iValue: iValue, dValue: dValue, sValue: sValue, isNil: isNil}
}
func NewNumericFromI32(iValue int32) Numeric {
dValue := float64(iValue)
- sValue := string(iValue)
+ sValue := strconv.FormatInt(int64(iValue), 10)
isNil := false
return &numeric{iValue: int64(iValue), dValue: dValue, sValue: sValue, isNil: isNil}
}