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

Fix distribution detector erroneously depending on previous metadata (#6023)

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-08-11 23:37:00 -07:00 committed by GitHub
parent 33834e34b7
commit edacf3bec6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,8 +96,6 @@ export class DistributionDetector extends BaseClusterDetector {
} }
public async getKubernetesVersion() { public async getKubernetesVersion() {
if (this.cluster.version) return this.cluster.version;
const response = await this.k8sRequest("/version"); const response = await this.k8sRequest("/version");
return response.gitVersion; return response.gitVersion;