Plugins: Require backend plugins to be signed when using plugin path (#24244)

This commit is contained in:
Marcus Efraimsson 2020-05-04 22:12:18 +02:00 committed by GitHub
parent b3ccae9c93
commit bcf5c937d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}
}