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:
parent
c4d029baa1
commit
082a45162e
@ -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
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user