1
0
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:
Lauri Nevala 2020-09-02 15:28:02 +03:00 committed by GitHub
parent b77249fbc8
commit 61c3e32a7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();