From b184b6c0318b1f6e5a353319c7f0ffa4fd15ccbb Mon Sep 17 00:00:00 2001 From: Jeremy Facchetti Date: Mon, 13 May 2024 11:28:23 +0200 Subject: [PATCH] fixed function that was renamed --- .gitignore | 3 ++- plugin/manager.go | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0008354c..0a45efa1 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ examples/**/vendor/ examples/**/test/ /test .devspace/ -.DS_Store \ No newline at end of file +.DS_Store +e2e/test_plugin/test_plugin diff --git a/plugin/manager.go b/plugin/manager.go index bf5c6f2a..b7988bc8 100644 --- a/plugin/manager.go +++ b/plugin/manager.go @@ -161,7 +161,7 @@ func (m *manager) InitWithOptions(options Options) (*synccontext.RegisterContext virtualClusterConfig.Plugins = map[string]config2.Plugins{} // init virtual cluster config - err = setup.InitConfig(virtualClusterConfig) + err = setup.InitAndValidateConfig(ctx, virtualClusterConfig) if err != nil { return nil, fmt.Errorf("init config: %w", err) }