From bcf5c937d5e473789556c977ce4d63d0d948fe0d Mon Sep 17 00:00:00 2001 From: Marcus Efraimsson Date: Mon, 4 May 2020 22:12:18 +0200 Subject: [PATCH] Plugins: Require backend plugins to be signed when using plugin path (#24244) --- pkg/plugins/plugins.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/plugins/plugins.go b/pkg/plugins/plugins.go index 6ca914d1eaf..a4c492c5154 100644 --- a/pkg/plugins/plugins.go +++ b/pkg/plugins/plugins.go @@ -174,7 +174,7 @@ func (pm *PluginManager) checkPluginPaths() error { continue } - if err := pm.scan(path, false); err != nil { + if err := pm.scan(path, true); err != nil { return errutil.Wrapf(err, "failed to scan directory configured for plugin '%s': '%s'", pluginID, path) } }