Просмотр исходного кода

fix(elasticsearch): removed unused code

Torkel Ödegaard 9 лет назад
Родитель
Сommit
e082d78697
2 измененных файлов с 1 добавлено и 1 удалено
  1. 1 0
      CHANGELOG.md
  2. 0 1
      public/app/plugins/datasource/elasticsearch/bucket_agg.js

+ 1 - 0
CHANGELOG.md

@@ -8,6 +8,7 @@
 * **Cloudwatch**: Make it possible to specify access and secret key on the data source config page [#6697](https://github.com/grafana/grafana/issues/6697)
 * **Table**: Added Hidden Column Style for Table Panel [#5677](https://github.com/grafana/grafana/pull/5677)
 * **Graph**: Shared crosshair option renamed to shared tooltip, shows tooltip on all graphs as you hover over one graph. [#1578](https://github.com/grafana/grafana/pull/1578), [#6274](https://github.com/grafana/grafana/pull/6274)
+* **Elasticsearch**: Added support for Missing option (bucket) for terms aggregation [#4244](https://github.com/grafana/grafana/pull/4244), thx @shanielh
 
 ### Bugfixes
 * **API**: HTTP API for deleting org returning incorrect message for a non-existing org [#6679](https://github.com/grafana/grafana/issues/6679)

+ 0 - 1
public/app/plugins/datasource/elasticsearch/bucket_agg.js

@@ -27,7 +27,6 @@ function (angular, _, queryDef) {
 
     $scope.orderByOptions = [];
     $scope.bucketAggTypes = queryDef.bucketAggTypes;
-    $scope.bucketAggTypesHash = _.indexBy(queryDef.bucketAggTypes, 'value');
     $scope.orderOptions = queryDef.orderOptions;
     $scope.sizeOptions = queryDef.sizeOptions;