mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
apis / clusters-menu refactoring
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
1 parent
4e88715b8d
commit
fbcb2fd281
12 files changed
+72
-50
No files matched your search
@@ -22,6 +22,7 @@ export default migration({
|
||||
try {
|
||||
// take the embedded kubeconfig and dump it into a file
|
||||
cluster.kubeConfigPath = writeEmbeddedKubeConfig(cluster.id, cluster.kubeConfig)
|
||||
delete cluster.kubeConfig;
|
||||
migratedClusters.push(cluster)
|
||||
} catch (error) {
|
||||
log(`Failed to migrate Kubeconfig for cluster "${cluster.id}"`, error)
|
||||
|
||||
Reference in new issue
Block a user