mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(plugins): removes warnings for missing folder
Remove warnings when scanning for plugins in the default catalog data/plugins closes #3663
This commit is contained in:
parent
9343b0378d
commit
5792a16222
@ -55,7 +55,9 @@ func scan(pluginDir string) error {
|
||||
}
|
||||
|
||||
if err := util.Walk(pluginDir, true, true, scanner.walker); err != nil {
|
||||
log.Warn("Failed to scan dir \"%v\" error: %s", pluginDir, err)
|
||||
if pluginDir != "data/plugins" {
|
||||
log.Warn("Could not scan dir \"%v\" error: %s", pluginDir, err)
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user