Skip to content

Commit

Permalink
[Bug] fix incorrect import for opensearch aggs
Browse files Browse the repository at this point in the history
Incorrect import statement that was introduced here:
opensearch-project#688

Verified other imports and the rest look fine.

Issue:
n/a

Signed-off-by: Kawika Avilla <[email protected]>
  • Loading branch information
kavilla committed Feb 1, 2022
1 parent 8777eb3 commit c644cb1
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 c644cb1

Please sign in to comment.