Skip to content

Commit

Permalink
update comment in infra plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed Jun 8, 2021
1 parent 7304b6c commit 13cca1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const createGetLogEntriesQuery = (
},
},
fields,
// @ts-expect-error @elastic/elasticsearch expects "runtime" property
// @ts-expect-error @elastic/elasticsearch doesn't declare "runtime_mappings" property
runtime_mappings: runtimeMappings,
_source: false,
...createSortClause(sortDirection, timestampField, tiebreakerField),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const createGetLogEntryQuery = (
},
},
fields: ['*'],
// @ts-expect-error @elastic/elasticsearch expects "runtime" property
// @ts-expect-error @elastic/elasticsearch doesn't declare "runtime_mappings" property
runtime_mappings: runtimeMappings,
sort: [{ [timestampField]: 'desc' }, { [tiebreakerField]: 'desc' }],
_source: false,
Expand Down

0 comments on commit 13cca1f

Please sign in to comment.