1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

create cluster object also for non-local sources

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2021-05-06 20:23:04 +03:00
parent 7b1b8e6321
commit c465006a31

View File

@ -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) {