Ver código fonte

bug fix

bug fix
Yuan Liu 7 anos atrás
pai
commit
567db87c3a
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      pkg/tsdb/elasticsearch/time_series_query.go

+ 1 - 1
pkg/tsdb/elasticsearch/time_series_query.go

@@ -172,7 +172,7 @@ func addTermsAgg(aggBuilder es.AggBuilder, bucketAgg *BucketAgg, metrics []*Metr
 			a.Size = 500
 		}
 		if a.Size == 0 {
-		    a.Size = 500
+			a.Size = 500
 		}
 		
 		if minDocCount, err := bucketAgg.Settings.Get("min_doc_count").Int(); err == nil {