Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
matthagenbuch committed May 21, 2024
1 parent d415fef commit f81083f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions internal/manifests/collector/configmap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion internal/naming/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]))
}
Expand Down

0 comments on commit f81083f

Please sign in to comment.