Skip to content
Snippets Groups Projects
Unverified Commit ed884b03 authored by Paweł Krupa's avatar Paweł Krupa Committed by GitHub
Browse files

Merge pull request #1045 from enkov/main

allow install grafana plugins
parents eacf316f 094cdb34
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,7 @@ local defaults = { ...@@ -28,6 +28,7 @@ local defaults = {
containers: [], containers: [],
datasources: [], datasources: [],
config: {}, config: {},
plugins: [],
}; };
function(params) { function(params) {
...@@ -56,6 +57,7 @@ function(params) { ...@@ -56,6 +57,7 @@ function(params) {
folderDashboards: g.cfg.folderDashboards, folderDashboards: g.cfg.folderDashboards,
containers: g.cfg.containers, containers: g.cfg.containers,
config+: g.cfg.config, config+: g.cfg.config,
plugins+: g.cfg.plugins,
} + ( } + (
// Conditionally overwrite default setting. // Conditionally overwrite default setting.
if std.length(g.cfg.datasources) > 0 then if std.length(g.cfg.datasources) > 0 then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment