Skip to content

Commit

Permalink
[chore] Fix component.Type string literal (open-telemetry#31548)
Browse files Browse the repository at this point in the history
  • Loading branch information
mx-psi authored and DougManton committed Mar 13, 2024
1 parent a526cc5 commit aa1bdf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/configschema/docsgen/docsgen/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/otelcol"

"github.com/open-telemetry/opentelemetry-collector-contrib/cmd/configschema"
Expand All @@ -29,7 +30,7 @@ func TestWriteConfigDoc(t *testing.T) {
dr,
configschema.CfgInfo{
Group: "receiver",
Type: "redis",
Type: component.MustNewType("redis"),
CfgInstance: cfg,
},
func(dir string, bytes []byte, perm os.FileMode) error {
Expand Down

0 comments on commit aa1bdf8

Please sign in to comment.