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

master-merge fixes

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman 2021-04-25 21:04:15 +03:00
parent c19be88691
commit e2664a26bf

View File

@ -6,8 +6,7 @@ import { ClusterStore, getClusterIdFromHost } from "../common/cluster-store";
import { Cluster } from "./cluster"; import { Cluster } from "./cluster";
import logger from "./logger"; import logger from "./logger";
import { apiKubePrefix } from "../common/vars"; import { apiKubePrefix } from "../common/vars";
import { CatalogEntity, catalogEntityRegistry } from "../common/catalog"; import { CatalogEntity, catalogEntityRegistry, CatalogEntityData } from "../common/catalog";
import { CatalogEntity, CatalogEntityData } from "../common/catalog-entity";
import { cloneJson, Singleton } from "../common/utils"; import { cloneJson, Singleton } from "../common/utils";
import { KubernetesCluster } from "../common/catalog-entities/kubernetes-cluster"; import { KubernetesCluster } from "../common/catalog-entities/kubernetes-cluster";
@ -148,7 +147,7 @@ export class ClusterManager extends Singleton {
} }
}); });
return new KubernetesCluster(data); return new KubernetesCluster(data as any);
} }
protected onNetworkOffline() { protected onNetworkOffline() {