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:
parent
b953022c47
commit
d410596997
@ -157,6 +157,8 @@ export function computeDiff(contents: string, source: RootSource, port: number,
|
|||||||
throw new Error("Cluster constructor failed, see above error");
|
throw new Error("Cluster constructor failed, see above error");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cluster.init(port);
|
||||||
|
|
||||||
const entity = catalogEntityFromCluster(cluster);
|
const entity = catalogEntityFromCluster(cluster);
|
||||||
|
|
||||||
entity.metadata.labels.KUBECONFIG_SYNC = filePath;
|
entity.metadata.labels.KUBECONFIG_SYNC = filePath;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user