File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ func TestInvalidCollectorSettings(t *testing.T) {
87
87
set := CollectorSettings {
88
88
ConfigProviderSettings : ConfigProviderSettings {
89
89
ResolverSettings : confmap.ResolverSettings {
90
- Converters : []confmap.Converter {expandconverter .New ()},
90
+ Converters : []confmap.Converter {expandconverter .New (confmap. ConverterSettings {} )},
91
91
URIs : []string {"--config=otelcol-nop.yaml" },
92
92
},
93
93
},
@@ -102,7 +102,7 @@ func TestNewCommandInvalidComponent(t *testing.T) {
102
102
ResolverSettings : confmap.ResolverSettings {
103
103
URIs : []string {filepath .Join ("testdata" , "otelcol-invalid.yaml" )},
104
104
Providers : map [string ]confmap.Provider {"file" : fileprovider .New ()},
105
- Converters : []confmap.Converter {expandconverter .New ()},
105
+ Converters : []confmap.Converter {expandconverter .New (confmap. ConverterSettings {} )},
106
106
},
107
107
}
108
108
You can’t perform that action at this time.
0 commit comments