mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
This is a loose forward-port of #25307, which was rushed in for 6.5. I created this PR to make sure we don't lose the fix. Part of #elastic/beats#8957.
This commit is contained in:
parent
9e1ce16ebd
commit
f2ba6b01a0
2 changed files with 2 additions and 2 deletions
|
@ -437,7 +437,7 @@ describe('bucketTransform', () => {
|
|||
},
|
||||
gap_policy: 'skip',
|
||||
script: {
|
||||
source: 'params.value > 0 ? params.value : 0',
|
||||
source: 'params.value > 0.0 ? params.value : 0.0',
|
||||
lang: 'painless'
|
||||
}
|
||||
}
|
||||
|
|
|
@ -252,7 +252,7 @@ export default {
|
|||
value: getBucketsPath(bucket.field, metrics),
|
||||
},
|
||||
script: {
|
||||
source: 'params.value > 0 ? params.value : 0',
|
||||
source: 'params.value > 0.0 ? params.value : 0.0',
|
||||
lang: 'painless',
|
||||
},
|
||||
gap_policy: 'skip', // seems sane
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue