diff --git a/pkg/actors/report.go b/pkg/actors/report.go index 82129c7c..17bf5565 100644 --- a/pkg/actors/report.go +++ b/pkg/actors/report.go @@ -122,6 +122,7 @@ func (r *Report) Run(ctx context.Context) { gaugeU64 = func(bucket string, value uint64) { if value > math.MaxInt64 { logg.Error("statsd: value %d for bucket %q is out of range for int64", value, bucket) + return } gaugeI64(bucket, int64(value)) } diff --git a/pkg/objects/source.go b/pkg/objects/source.go index 4afcefc7..848eab79 100644 --- a/pkg/objects/source.go +++ b/pkg/objects/source.go @@ -168,7 +168,7 @@ func (u *URLSource) Validate(name string) (result []error) { // Connect implements the Source interface. func (u *URLSource) Connect(_ context.Context, name string) error { - tlsConfig := &tls.Config{} //nolint:gosec // only used in HTTP client, where stdlib auto-chooses strong TLS versions + tlsConfig := &tls.Config{} if u.ClientCertificatePath != "" { // Load client cert