mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Merge remote-tracking branch 'origin/master' into vue_react_migration
# Conflicts: # src/common/cluster-store.ts # src/common/cluster-store_spec.ts
This commit is contained in:
commit
f9c0c5d825
23 files changed
+258
-161
No files matched your search
@@ -6,10 +6,10 @@ const state = {
|
||||
}
|
||||
|
||||
const actions = {
|
||||
reloadAvailableKubeContexts: ({commit}) => {
|
||||
reloadAvailableKubeContexts({commit}, file) {
|
||||
let kc = new k8s.KubeConfig();
|
||||
try {
|
||||
kc.loadFromDefault();
|
||||
kc.loadFromFile(file);
|
||||
} catch (error) {
|
||||
console.error("Failed to read default kubeconfig: " + error.message);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user