From 573d5681e468bed4b23dd16b6fc9a0e434507b22 Mon Sep 17 00:00:00 2001 From: Abdul Zahid Date: Sun, 3 Dec 2023 22:01:24 +0500 Subject: [PATCH] Fix build failure. --- .../inventory_view/components/waffle/node_context_menu.tsx | 2 +- x-pack/plugins/logs_shared/common/locators/helpers.ts | 2 +- x-pack/plugins/logs_shared/kibana.jsonc | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_context_menu.tsx b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_context_menu.tsx index 8523972b504cf..2e875abf29cfa 100644 --- a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_context_menu.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_context_menu.tsx @@ -23,7 +23,7 @@ import { } from '@kbn/observability-shared-plugin/public'; import { findInventoryModel, findInventoryFields } from '@kbn/metrics-data-access-plugin/common'; import { InventoryItemType } from '@kbn/metrics-data-access-plugin/common'; -import { getLogsLocatorsFromUrlService } from '@kbn/logs-shared-plugin/common/locators'; +import { getLogsLocatorsFromUrlService } from '@kbn/logs-shared-plugin/common'; import { useKibanaContextForPlugin } from '../../../../../hooks/use_kibana'; import { AlertFlyout } from '../../../../../alerting/inventory/components/alert_flyout'; import { InfraWaffleMapNode, InfraWaffleMapOptions } from '../../../../../lib/lib'; diff --git a/x-pack/plugins/logs_shared/common/locators/helpers.ts b/x-pack/plugins/logs_shared/common/locators/helpers.ts index 30d3e1913a0ff..fa3ab132df78f 100644 --- a/x-pack/plugins/logs_shared/common/locators/helpers.ts +++ b/x-pack/plugins/logs_shared/common/locators/helpers.ts @@ -5,7 +5,7 @@ * 2.0. */ -import moment, { DurationInputObject } from 'moment/moment'; +import moment, { DurationInputObject } from 'moment'; export type NodeType = 'host' | 'pod' | 'container' | 'awsEC2' | 'awsS3' | 'awsSQS' | 'awsRDS'; diff --git a/x-pack/plugins/logs_shared/kibana.jsonc b/x-pack/plugins/logs_shared/kibana.jsonc index b78503b140a71..fc8dcf0e64d96 100644 --- a/x-pack/plugins/logs_shared/kibana.jsonc +++ b/x-pack/plugins/logs_shared/kibana.jsonc @@ -13,7 +13,8 @@ "dataViews", "usageCollection", "observabilityShared", - "observabilityAIAssistant" + "observabilityAIAssistant", + "share" ], "requiredBundles": ["kibanaUtils", "kibanaReact"], "extraPublicDirs": ["common"]