Skip to content

Commit

Permalink
Update to reflect changes on main
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-bradley committed Feb 16, 2024
1 parent 5494cfb commit dc39b02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions otelcol/command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func TestInvalidCollectorSettings(t *testing.T) {
set := CollectorSettings{
ConfigProviderSettings: ConfigProviderSettings{
ResolverSettings: confmap.ResolverSettings{
Converters: []confmap.Converter{expandconverter.New()},
Converters: []confmap.Converter{expandconverter.New(confmap.ConverterSettings{})},
URIs: []string{"--config=otelcol-nop.yaml"},
},
},
Expand All @@ -102,7 +102,7 @@ func TestNewCommandInvalidComponent(t *testing.T) {
ResolverSettings: confmap.ResolverSettings{
URIs: []string{filepath.Join("testdata", "otelcol-invalid.yaml")},
Providers: map[string]confmap.Provider{"file": fileprovider.New()},
Converters: []confmap.Converter{expandconverter.New()},
Converters: []confmap.Converter{expandconverter.New(confmap.ConverterSettings{})},
},
}

Expand Down

0 comments on commit dc39b02

Please sign in to comment.