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

Change isDead to property

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala 2021-01-22 13:58:00 +02:00
parent c4d029baa1
commit 082a45162e

View File

@ -76,6 +76,7 @@ export class Cluster implements ClusterModel, ClusterState {
* If extension sets this it needs to also mark cluster as enabled on activate (or when added to a store) * If extension sets this it needs to also mark cluster as enabled on activate (or when added to a store)
*/ */
public ownerRef: string; public ownerRef: string;
public isDead = false;
protected kubeconfigManager: KubeconfigManager; protected kubeconfigManager: KubeconfigManager;
protected eventDisposers: Function[] = []; protected eventDisposers: Function[] = [];
protected activated = false; protected activated = false;
@ -169,12 +170,7 @@ export class Cluster implements ClusterModel, ClusterState {
* @observable * @observable
*/ */
@observable isAdmin = false; @observable isAdmin = false;
/**
* Is cluster marked as dead, for example due the invalid kubeconfig
*
* @observable
*/
@observable isDead = false;
/** /**
* Preferences * Preferences
* *