diff --git a/public/app/plugins/datasource/influxdb/queryCtrl.js b/public/app/plugins/datasource/influxdb/queryCtrl.js index 0278a2c3097..52e9e8277d8 100644 --- a/public/app/plugins/datasource/influxdb/queryCtrl.js +++ b/public/app/plugins/datasource/influxdb/queryCtrl.js @@ -161,7 +161,7 @@ function (angular, _, InfluxQueryBuilder) { MetricSegment.newOperator('<'), MetricSegment.newOperator('>')]); } else if (segment.type === 'operator' && /^\/.*\/$/.test($scope.tagSegments[index+1].value)) { - return $q.when([ MetricSegment.newOperator('=~'), MetricSegment.newOperator('!~')]); + return $q.when([MetricSegment.newOperator('=~'), MetricSegment.newOperator('!~')]); } else { return $q.when([]);