feat(templating): prometheus now works with new template variable formating/escaping, #2918

This commit is contained in:
Torkel Ödegaard
2016-03-01 16:11:05 +01:00
parent 23a136d9ef
commit d1bac6cde0
5 changed files with 5 additions and 6 deletions

View File

@@ -50,7 +50,7 @@ function (angular, _) {
}
var escapedValues = _.map(value, regexEscape);
return '(' + escapedValues.join('|') + ')';
return escapedValues.join('|');
}
case "lucene": {
if (typeof value === 'string') {