Ver código fonte

Remove declaration of unused variable size

Volker Fröhlich 10 anos atrás
pai
commit
6b9b08da30

+ 1 - 1
public/app/plugins/datasource/elasticsearch/query_builder.js

@@ -15,7 +15,7 @@ function (angular) {
   };
 
   ElasticQueryBuilder.prototype.buildTermsAgg = function(aggDef, queryNode, target) {
-    var metricRef, metric, size, y;
+    var metricRef, metric, y;
     queryNode.terms = { "field": aggDef.field };
 
     if (!aggDef.settings) {