mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Try to reconnect non-accessible clusters on activate (#789)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
parent
b77249fbc8
commit
61c3e32a7c
@ -130,7 +130,7 @@ export class Cluster implements ClusterModel {
|
||||
if (!this.eventDisposers.length) {
|
||||
this.bindEvents();
|
||||
}
|
||||
if (this.disconnected) {
|
||||
if (this.disconnected || !this.accessible) {
|
||||
await this.reconnect();
|
||||
}
|
||||
await this.refresh();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user