mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
9089bfbc01
commit
be4ca44901
@ -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,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user