Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pkg/actors/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/objects/source.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down