mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
change clusterStore.enabledClustersList -> clusterStore.clustersList
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
parent
bb91569bc4
commit
a7595c195f
@ -38,7 +38,7 @@ export class ClusterManager {
|
|||||||
|
|
||||||
protected onNetworkOffline() {
|
protected onNetworkOffline() {
|
||||||
logger.info("[CLUSTER-MANAGER]: network is offline")
|
logger.info("[CLUSTER-MANAGER]: network is offline")
|
||||||
clusterStore.enabledClustersList.forEach((cluster) => {
|
clusterStore.clustersList.forEach((cluster) => {
|
||||||
if (!cluster.disconnected) {
|
if (!cluster.disconnected) {
|
||||||
cluster.online = false
|
cluster.online = false
|
||||||
cluster.accessible = false
|
cluster.accessible = false
|
||||||
@ -49,7 +49,7 @@ export class ClusterManager {
|
|||||||
|
|
||||||
protected onNetworkOnline() {
|
protected onNetworkOnline() {
|
||||||
logger.info("[CLUSTER-MANAGER]: network is online")
|
logger.info("[CLUSTER-MANAGER]: network is online")
|
||||||
clusterStore.enabledClustersList.forEach((cluster) => {
|
clusterStore.clustersList.forEach((cluster) => {
|
||||||
if (!cluster.disconnected) {
|
if (!cluster.disconnected) {
|
||||||
cluster.refreshConnectionStatus().catch((e) => e)
|
cluster.refreshConnectionStatus().catch((e) => e)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user