1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

fix synced clusters not connectable

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-04-28 17:33:04 -04:00
parent b953022c47
commit d410596997

View File

@ -157,6 +157,8 @@ export function computeDiff(contents: string, source: RootSource, port: number,
throw new Error("Cluster constructor failed, see above error");
}
cluster.init(port);
const entity = catalogEntityFromCluster(cluster);
entity.metadata.labels.KUBECONFIG_SYNC = filePath;