Commit a51d900d by Denis Doria

Fix code style and included missed semicolon

parent 9a9902ce
......@@ -16,7 +16,7 @@ function (_) {
}
if (tag.value && (operator === '=~' || operator === '!~') && /^\/.*\/$/.test(tag.value)) {
return str + '"' + tag.key + '"' + ' ' + operator + ' ' + tag.value;
return str + '"' + tag.key + '"' + ' ' + operator + ' ' + tag.value;
}
return str + '"' + tag.key + '" ' + operator + " '" + tag.value + "'";
......@@ -129,4 +129,3 @@ function (_) {
return InfluxQueryBuilder;
});
......@@ -251,7 +251,7 @@ function (angular, _, InfluxQueryBuilder) {
tags[tagIndex].key = segment2.value;
}
else if (segment2.type === 'value') {
tagOperator = $scope.getTagValueOperator(segment2.value, tags[tagIndex].operator)
tagOperator = $scope.getTagValueOperator(segment2.value, tags[tagIndex].operator);
if (tagOperator) {
$scope.tagSegments[index-1] = MetricSegment.newOperator(tagOperator);
tags[tagIndex].operator = tagOperator;
......@@ -330,4 +330,3 @@ function (angular, _, InfluxQueryBuilder) {
});
});
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