Skip to content

Commit

Permalink
remove json arg from function definition
Browse files Browse the repository at this point in the history
  • Loading branch information
stratoula committed Aug 21, 2020
1 parent bf0f6fa commit d3a52a9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ describe('agg_expression_functions', () => {
"id": undefined,
"params": Object {
"customLabel": undefined,
"json": undefined,
},
"schema": undefined,
"type": "count",
Expand Down
6 changes: 0 additions & 6 deletions src/plugins/data/common/search/aggs/metrics/count_fn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ export const aggCount = (): FunctionDefinition => ({
defaultMessage: 'Schema to use for this aggregation',
}),
},
json: {
types: ['string'],
help: i18n.translate('data.search.aggs.metrics.count.json.help', {
defaultMessage: 'Advanced json to include when the agg is sent to Elasticsearch',
}),
},
customLabel: {
types: ['string'],
help: i18n.translate('data.search.aggs.metrics.count.customLabel.help', {
Expand Down

0 comments on commit d3a52a9

Please sign in to comment.