Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
a5661574
Unverified
Commit
a5661574
authored
Apr 10, 2020
by
Ryan McKinley
Committed by
GitHub
Apr 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Plugins: fix debug formatting when scanning for files (#23484)
parent
4d81cec3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pkg/plugins/plugins.go
+2
-2
No files found.
pkg/plugins/plugins.go
View file @
a5661574
...
...
@@ -182,11 +182,11 @@ func (pm *PluginManager) scan(pluginDir string) error {
if
err
:=
util
.
Walk
(
pluginDir
,
true
,
true
,
scanner
.
walker
);
err
!=
nil
{
if
xerrors
.
Is
(
err
,
os
.
ErrNotExist
)
{
pm
.
log
.
Debug
(
"Couldn't scan dir
'%s' since it doesn't exist"
)
pm
.
log
.
Debug
(
"Couldn't scan dir
ectory since it doesn't exist"
,
"pluginDir"
,
pluginDir
)
return
nil
}
if
xerrors
.
Is
(
err
,
os
.
ErrPermission
)
{
pm
.
log
.
Debug
(
"Couldn't scan dir
'%s' due to lack of permissions"
)
pm
.
log
.
Debug
(
"Couldn't scan dir
ectory due to lack of permissions"
,
"pluginDir"
,
pluginDir
)
return
nil
}
if
pluginDir
!=
"data/plugins"
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment