From 34c8ad827f201cc61d221bb45ac4afc63b5c3bb8 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Tue, 20 Dec 2022 17:22:09 +0100 Subject: [PATCH] seedling: Add /usr/local/system/providers to bus (#569) This allows bundles to install providers in the persistent path Signed-off-by: mudler --- internal/bus/bus.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/bus/bus.go b/internal/bus/bus.go index f102a77..42a2185 100644 --- a/internal/bus/bus.go +++ b/internal/bus/bus.go @@ -32,7 +32,7 @@ type Bus struct { func (b *Bus) LoadProviders() { wd, _ := os.Getwd() - b.Manager.Autoload("agent-provider", "/system/providers", wd).Register() + b.Manager.Autoload("agent-provider", "/system/providers", "/usr/local/system/providers", wd).Register() } func (b *Bus) Initialize() {