From 1ed1d729c3cd51f3b50d0ac2c6e9ef6d04330c61 Mon Sep 17 00:00:00 2001 From: Alexis Viscogliosi Date: Sun, 1 Dec 2024 15:00:49 +0100 Subject: [PATCH] fix: provider --- pkg/entrypoint/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/entrypoint/root.go b/pkg/entrypoint/root.go index 8fd2898..fbf4c0f 100644 --- a/pkg/entrypoint/root.go +++ b/pkg/entrypoint/root.go @@ -106,7 +106,7 @@ func init() { } func initConfig() { - yamlConfig, err := amigoconfig.LoadYamlConfig(filepath.Join(config.AmigoFolderPath, contextsFileName)) + yamlConfig, err := amigoconfig.LoadYamlConfig(filepath.Join(config.AmigoFolderPath, amigoconfig.FileName)) if err != nil { logger.Error(events.MessageEvent{Message: fmt.Sprintf("error: can't read config: %s", err)}) return