mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 08:42:18 +08:00
bug fix
bug fix
This commit is contained in:
@ -172,7 +172,7 @@ func addTermsAgg(aggBuilder es.AggBuilder, bucketAgg *BucketAgg, metrics []*Metr
|
|||||||
a.Size = 500
|
a.Size = 500
|
||||||
}
|
}
|
||||||
if a.Size == 0 {
|
if a.Size == 0 {
|
||||||
a.Size = 500
|
a.Size = 500
|
||||||
}
|
}
|
||||||
|
|
||||||
if minDocCount, err := bucketAgg.Settings.Get("min_doc_count").Int(); err == nil {
|
if minDocCount, err := bucketAgg.Settings.Get("min_doc_count").Int(); err == nil {
|
||||||
|
Reference in New Issue
Block a user