Skip to content

Commit

Permalink
[1.x][Bug] fix incorrect import for opensearch aggs (#1192) (#1227)
Browse files Browse the repository at this point in the history
Incorrect import statement that was introduced here:
#688

Verified other imports and the rest look fine.

Issue:
n/a

Backport PR:
#1192

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
  • Loading branch information
kavilla committed Feb 10, 2022
1 parent b7c11d1 commit 3f27ecc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import {
OpenSearchDashboardsContext,
OpenSearchDashboardsDatatable,
ExpressionFunctionDefinition,
} from '../../../common/search';
} from '../../../../expressions/common';

type Input = OpenSearchDashboardsContext | null;
type Output = Promise<OpenSearchDashboardsDatatable>;
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/data/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const configSchema = schema.object({
aggs: schema.object({
shardDelay: schema.object({
// Whether or not to register the shard_delay (which is only available in snapshot versions
// of Elasticsearch) agg type/expression function to make it available in the UI for either
// of OpenSearch) agg type/expression function to make it available in the UI for either
// functional or manual testing
enabled: schema.boolean({ defaultValue: false }),
}),
Expand Down

0 comments on commit 3f27ecc

Please sign in to comment.