fix(influxdb): fixed issue in last commit

This commit is contained in:
Torkel Ödegaard 2015-09-01 13:04:59 +02:00
parent 209e9ebda7
commit 6989c6332d

View File

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