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])) }