From f1017c3bc482e1c79882df1890dff71bce4729c5 Mon Sep 17 00:00:00 2001 From: Jonah Back Date: Mon, 20 Jun 2022 15:07:10 -0700 Subject: [PATCH] feat: add test and basic docs for catalog cluster locator Signed-off-by: Jonah Back --- plugins/kubernetes-backend/src/cluster-locator/index.test.ts | 2 +- plugins/kubernetes-backend/src/cluster-locator/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/kubernetes-backend/src/cluster-locator/index.test.ts b/plugins/kubernetes-backend/src/cluster-locator/index.test.ts index 475e59e503..1ba533ccd4 100644 --- a/plugins/kubernetes-backend/src/cluster-locator/index.test.ts +++ b/plugins/kubernetes-backend/src/cluster-locator/index.test.ts @@ -16,7 +16,7 @@ import { Config, ConfigReader } from '@backstage/config'; import { getCombinedClusterSupplier } from './index'; -import { PluginEndpointDiscovery } from '@backstage/backend-common/dist'; +import { PluginEndpointDiscovery } from '@backstage/backend-common'; describe('getCombinedClusterSupplier', () => { it('should retrieve cluster details from config', async () => { diff --git a/plugins/kubernetes-backend/src/cluster-locator/index.ts b/plugins/kubernetes-backend/src/cluster-locator/index.ts index 46f24f780b..200d064514 100644 --- a/plugins/kubernetes-backend/src/cluster-locator/index.ts +++ b/plugins/kubernetes-backend/src/cluster-locator/index.ts @@ -20,7 +20,7 @@ import { ClusterDetails, KubernetesClustersSupplier } from '../types/types'; import { ConfigClusterLocator } from './ConfigClusterLocator'; import { GkeClusterLocator } from './GkeClusterLocator'; import { CatalogClusterLocator } from './CatalogClusterLocator'; -import { PluginEndpointDiscovery } from '@backstage/backend-common/dist'; +import { PluginEndpointDiscovery } from '@backstage/backend-common'; import { CatalogClient } from '@backstage/catalog-client'; class CombinedClustersSupplier implements KubernetesClustersSupplier {