diff options
author | dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> | 2019-11-11 11:20:33 +0000 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2019-11-11 10:25:54 -0500 |
commit | 3dcac46026327f27d0d8b83df415f0e2b8a2fb86 (patch) | |
tree | afd3942131ec522a4106e58e84577c958f33f139 /vendor/github.com/uber/jaeger-client-go/sampler.go | |
parent | de32b89eff0928abdef9d85a420b65d8865e737e (diff) | |
download | podman-3dcac46026327f27d0d8b83df415f0e2b8a2fb86.tar.gz podman-3dcac46026327f27d0d8b83df415f0e2b8a2fb86.tar.bz2 podman-3dcac46026327f27d0d8b83df415f0e2b8a2fb86.zip |
build(deps): bump github.com/uber/jaeger-client-go
Bumps [github.com/uber/jaeger-client-go](https://github.com/uber/jaeger-client-go) from 2.20.0+incompatible to 2.20.1+incompatible.
- [Release notes](https://github.com/uber/jaeger-client-go/releases)
- [Changelog](https://github.com/jaegertracing/jaeger-client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber/jaeger-client-go/compare/v2.20.0...v2.20.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Diffstat (limited to 'vendor/github.com/uber/jaeger-client-go/sampler.go')
-rw-r--r-- | vendor/github.com/uber/jaeger-client-go/sampler.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/github.com/uber/jaeger-client-go/sampler.go b/vendor/github.com/uber/jaeger-client-go/sampler.go index 6195d59c5..f47004b1f 100644 --- a/vendor/github.com/uber/jaeger-client-go/sampler.go +++ b/vendor/github.com/uber/jaeger-client-go/sampler.go @@ -363,6 +363,9 @@ type PerOperationSamplerParams struct { // NewPerOperationSampler returns a new PerOperationSampler. func NewPerOperationSampler(params PerOperationSamplerParams) *PerOperationSampler { + if params.MaxOperations <= 0 { + params.MaxOperations = defaultMaxOperations + } samplers := make(map[string]*GuaranteedThroughputProbabilisticSampler) for _, strategy := range params.Strategies.PerOperationStrategies { sampler := newGuaranteedThroughputProbabilisticSampler( |