Jelajahi Sumber

fix(influxdb): fixed issue in last commit

Torkel Ödegaard 10 tahun lalu
induk
melakukan
6989c6332d
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      public/app/plugins/datasource/influxdb/queryCtrl.js

+ 1 - 1
public/app/plugins/datasource/influxdb/queryCtrl.js

@@ -180,7 +180,7 @@ function (angular, _, InfluxQueryBuilder) {
     $scope.getFieldSegments = function() {
     $scope.getFieldSegments = function() {
       var fieldsQuery = $scope.queryBuilder.buildExploreQuery('FIELDS');
       var fieldsQuery = $scope.queryBuilder.buildExploreQuery('FIELDS');
       return $scope.datasource.metricFindQuery(fieldsQuery)
       return $scope.datasource.metricFindQuery(fieldsQuery)
-      .then($scope.transformToSegments)
+      .then($scope.transformToSegments(false))
       .then(null, $scope.handleQueryError);
       .then(null, $scope.handleQueryError);
     };
     };