From dc39b02f86861124d34d91342c07d64c38a4ab6d Mon Sep 17 00:00:00 2001 From: Evan Bradley Date: Thu, 15 Feb 2024 19:10:28 -0500 Subject: [PATCH] Update to reflect changes on main --- otelcol/command_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/otelcol/command_test.go b/otelcol/command_test.go index 8c7e1f626c0..cec23fe8b01 100644 --- a/otelcol/command_test.go +++ b/otelcol/command_test.go @@ -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"}, }, }, @@ -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{})}, }, }