Skip to content

Commit

Permalink
[1.x][Bug] fix incorrect import for opensearch aggs (opensearch-proje…
Browse files Browse the repository at this point in the history
…ct#1192)

Incorrect import statement that was introduced here:
opensearch-project#688

Verified other imports and the rest look fine.

Issue:
n/a

Backport PR:
opensearch-project#1192

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
  • Loading branch information
kavilla committed Feb 8, 2022
1 parent a10c1f0 commit 600edff
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 600edff

Please sign in to comment.