mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
9089bfbc01
commit
be4ca44901
1 file changed
-2
@@ -45,8 +45,6 @@ export class ClusterManager {
|
|||||||
clusters.forEach((clusterInfo) => {
|
clusters.forEach((clusterInfo) => {
|
||||||
try {
|
try {
|
||||||
const kc = this.loadKubeConfig(clusterInfo.kubeConfigPath)
|
const kc = this.loadKubeConfig(clusterInfo.kubeConfigPath)
|
||||||
kc.setCurrentContext(clusterInfo.contextName)
|
|
||||||
logger.debug(`Starting to load target definitions for ${ kc.currentContext }`)
|
|
||||||
const cluster = new Cluster({
|
const cluster = new Cluster({
|
||||||
id: clusterInfo.id,
|
id: clusterInfo.id,
|
||||||
port: this.port,
|
port: this.port,
|
||||||
|
|||||||
Reference in new issue
Block a user