mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Use entity.status.phase when updating cluster state (#4009)
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
1 file changed
+4
@@ -160,6 +160,10 @@ export class ClusterManager extends Singleton {
|
||||
return "connecting";
|
||||
}
|
||||
|
||||
if (entity?.status?.phase) {
|
||||
return entity.status.phase;
|
||||
}
|
||||
|
||||
return "disconnected";
|
||||
})();
|
||||
|
||||
|
||||
Reference in new issue
Block a user