From c686bb33400bb971dbac28f64cd4089b7da7cc0f Mon Sep 17 00:00:00 2001 From: Jari Kolehmainen Date: Thu, 1 Apr 2021 14:25:55 +0300 Subject: [PATCH] fix Signed-off-by: Jari Kolehmainen --- src/main/cluster-manager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/cluster-manager.ts b/src/main/cluster-manager.ts index a1e9401e10..c0ba24cc5d 100644 --- a/src/main/cluster-manager.ts +++ b/src/main/cluster-manager.ts @@ -68,7 +68,7 @@ export class ClusterManager extends Singleton { } }); - clusters.forEach((cluster) => { + clusters.filter((c) => !c.ownerRef).forEach((cluster) => { const entityIndex = this.catalogSource.findIndex((entity) => entity.metadata.uid === cluster.id); const newEntity = this.catalogEntityFromCluster(cluster);