浏览代码

returns correct index (#5275)

Mark Baas 9 年之前
父节点
当前提交
ced3bafa99
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      public/app/plugins/datasource/opentsdb/datasource.js

+ 1 - 4
public/app/plugins/datasource/opentsdb/datasource.js

@@ -403,10 +403,7 @@ function (angular, _, dateMath) {
         } else {
           return _.findIndex(options.targets, function(target) {
             if (target.filters && target.filters.length > 0) {
-              return target.metric === metricData.metric &&
-              _.all(target.filters, function(filter) {
-                return filter.tagk === interpolatedTagValue === "*";
-              });
+              return target.metric === metricData.metric;
             } else {
               return target.metric === metricData.metric &&
               _.all(target.tags, function(tagV, tagK) {