Commit 3351f959 by Carl Bergquist Committed by GitHub

Merge pull request #9913 from tomwilkie/dashboard-json-configmaps

Don't import JSON dashboards from hidden directories.
parents 6595be95 0015183a
......@@ -90,6 +90,9 @@ func (index *JsonDashIndex) updateIndex() error {
return err
}
if f.IsDir() {
if strings.HasPrefix(f.Name(), ".") {
return filepath.SkipDir
}
return nil
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment