1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2026-06-03 18:35:08 +02:00

[chore] Add gosec via golangci-lint (#4645)

This commit is contained in:
Robert Pająk
2023-10-19 08:47:07 +02:00
committed by GitHub
parent 78ea001442
commit 5b28921940
10 changed files with 40 additions and 35 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ import (
const (
// resourceAttrKey is the environment variable name OpenTelemetry Resource information will be read from.
resourceAttrKey = "OTEL_RESOURCE_ATTRIBUTES"
resourceAttrKey = "OTEL_RESOURCE_ATTRIBUTES" //nolint:gosec // False positive G101: Potential hardcoded credentials
// svcNameKey is the environment variable name that Service Name information will be read from.
svcNameKey = "OTEL_SERVICE_NAME"