From f81083f7f91cd5fcf280b585d6f451faa2fea55a Mon Sep 17 00:00:00 2001 From: Matt Hagenbuch Date: Tue, 21 May 2024 10:32:31 -0400 Subject: [PATCH] lint --- internal/manifests/collector/configmap_test.go | 4 ++-- internal/naming/main.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/manifests/collector/configmap_test.go b/internal/manifests/collector/configmap_test.go index 8581b5ab20..d7614c8648 100644 --- a/internal/manifests/collector/configmap_test.go +++ b/internal/manifests/collector/configmap_test.go @@ -17,10 +17,10 @@ package collector import ( "testing" + "github.com/stretchr/testify/assert" + "github.com/open-telemetry/opentelemetry-operator/internal/manifests/manifestutils" "github.com/open-telemetry/opentelemetry-operator/internal/naming" - - "github.com/stretchr/testify/assert" ) func TestDesiredConfigMap(t *testing.T) { diff --git a/internal/naming/main.go b/internal/naming/main.go index fced8aa7b0..7ebd21d9ba 100644 --- a/internal/naming/main.go +++ b/internal/naming/main.go @@ -16,7 +16,7 @@ package naming // ConfigMap builds the name for the config map used in the OpenTelemetryCollector containers. -// The configHash should be calculated using manifestutils.GetConfigMapSHA +// The configHash should be calculated using manifestutils.GetConfigMapSHA. func ConfigMap(otelcol, configHash string) string { return DNSName(Truncate("%s-collector-%s", 63, otelcol, configHash[:8])) }