diff --git a/pkg/configprovider/globprovider/provider_test.go b/pkg/configprovider/globprovider/provider_test.go index 76065b2f20..f4a9ccbe49 100644 --- a/pkg/configprovider/globprovider/provider_test.go +++ b/pkg/configprovider/globprovider/provider_test.go @@ -162,9 +162,9 @@ func ValidateProviderScheme(p confmap.Provider) error { func TestRemotelyManagedMergeFlow(t *testing.T) { fp := NewWithSettings(confmap.ProviderSettings{}) - if globProvider, ok := fp.(*globprovider.Provider); ok { - globProvider.SetRemotelyManagedMergeFlow(true) - } + if globProvider, ok := fp.(*Provider); ok { + globProvider.SetRemotelyManagedMergeFlow(true) + } ret, err := fp.Retrieve(context.Background(), schemePrefix+filepath.Join("testdata", "mergefunc", "*.yaml"), nil) require.NoError(t, err) retMap, err := ret.AsConf() @@ -186,7 +186,6 @@ func TestRemotelyManagedMergeFlow(t *testing.T) { func TestLocallyManagedMergeFlow(t *testing.T) { fp := NewWithSettings(confmap.ProviderSettings{}) - ret, err := fp.Retrieve(context.Background(), schemePrefix+filepath.Join("testdata", "mergefunc", "*.yaml"), nil) require.NoError(t, err) retMap, err := ret.AsConf()