Commit 634699c8 by Mitsuhiro Tanda

fix prometheus datasource plugin

parent 7d97f381
...@@ -295,6 +295,7 @@ export function PrometheusDatasource(instanceSettings, $q, backendSrv, templateS ...@@ -295,6 +295,7 @@ export function PrometheusDatasource(instanceSettings, $q, backendSrv, templateS
} }
function renderTemplate(format, data) { function renderTemplate(format, data) {
var originalSettings = _.templateSettings;
_.templateSettings = { _.templateSettings = {
interpolate: /\{\{(.+?)\}\}/g interpolate: /\{\{(.+?)\}\}/g
}; };
......
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