From a6e916fa90284c40c0c368ea022f0f546c4fb2ca Mon Sep 17 00:00:00 2001 From: Jari Kolehmainen Date: Thu, 6 May 2021 20:45:32 +0300 Subject: [PATCH] Create cluster object also for non-local sources (#2719) Signed-off-by: Jari Kolehmainen --- src/main/cluster-manager.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/cluster-manager.ts b/src/main/cluster-manager.ts index 3c4bcd0015..9b1b133749 100644 --- a/src/main/cluster-manager.ts +++ b/src/main/cluster-manager.ts @@ -62,10 +62,6 @@ export class ClusterManager extends Singleton { @action syncClustersFromCatalog(entities: KubernetesCluster[]) { for (const entity of entities) { - if (entity.metadata.source !== "local") { - continue; - } - const cluster = ClusterStore.getInstance().getById(entity.metadata.uid); if (!cluster) {