mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix cluster-store and hotbar-store migrations (#3208)
- kubeConfigPath was erroniously set to cluster.id - Skip empty workspace hotbars - Output a warn if updating or creating a cluster throws in cluster-store Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
10e1e69137
commit
45cafaa420
3 files changed
+18
-7
No files matched your search
@@ -241,8 +241,8 @@ export class ClusterStore extends BaseStore<ClusterStoreModel> {
|
||||
cluster = new Cluster(clusterModel);
|
||||
}
|
||||
newClusters.set(clusterModel.id, cluster);
|
||||
} catch {
|
||||
// ignore
|
||||
} catch (error) {
|
||||
logger.warn(`[CLUSTER-STORE]: Failed to update/create a cluster: ${error}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user