pkg/plugins: Only warn if plugins fail to load. Fixes #19846 (#19859)

pkg/plugins: Only warn if plugins fail to load. Fixes #19846
This commit is contained in:
Arve Knudsen 2019-10-18 14:39:38 +02:00 committed by GitHub
parent ccf42ccbd9
commit 31735422ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,7 +187,7 @@ func (pm *PluginManager) scan(pluginDir string) error {
}
if len(scanner.errors) > 0 {
return errutil.Wrapf(scanner.errors[0], "Some plugins failed to load")
pm.log.Warn("Some plugins failed to load", "errors", scanner.errors)
}
return nil