Skip to content

Commit

Permalink
kql to kuery
Browse files Browse the repository at this point in the history
  • Loading branch information
ppisljar committed Mar 17, 2021
1 parent 8776573 commit 0425a5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/data/common/search/expressions/kql.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('interpreter/functions#kql', () => {
expect(actual).toMatchInlineSnapshot(
`
Object {
"language": "kql",
"language": "kuery",
"query": "test",
"type": "kibana_query",
}
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/data/common/search/expressions/kql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const kqlFunction: ExpressionFunctionKql = {
fn(input, args) {
return {
type: 'kibana_query',
language: 'kql',
language: 'kuery',
query: args.q,
};
},
Expand Down

0 comments on commit 0425a5a

Please sign in to comment.