Fix: only recurse a symbolic link if it is a directory (#35455) (#35521)

* only recurse a symbolic link if it is a directory

* added test for detecting valid plugins using lib dirs with symbolic links in them (like oracle)

* fix linting errors

* added extra checks as per code-review

(cherry picked from commit 83f26e9ce2)

Co-authored-by: Stephanie Closson <srclosson@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2021-06-10 11:54:50 -04:00
committed by GitHub
parent a23ff23deb
commit 8a2e2aa063
6 changed files with 103 additions and 23 deletions
@@ -0,0 +1,16 @@
{
"type": "datasource",
"name": "Test",
"id": "test",
"backend": true,
"executable": "test",
"state": "alpha",
"info": {
"version": "1.0.0",
"description": "Test",
"author": {
"name": "Will Browne",
"url": "https://willbrowne.com"
}
}
}