From 41874c8957da5bccb5b6fd639958a35cca43ae06 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Thu, 11 Aug 2022 12:20:03 -0400 Subject: [PATCH] Fix distribution detector erroneously depending on previous metadata Signed-off-by: Sebastian Malton --- src/main/cluster-detectors/distribution-detector.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/cluster-detectors/distribution-detector.ts b/src/main/cluster-detectors/distribution-detector.ts index c912fcf5b5..dcdacfb253 100644 --- a/src/main/cluster-detectors/distribution-detector.ts +++ b/src/main/cluster-detectors/distribution-detector.ts @@ -96,8 +96,6 @@ export class DistributionDetector extends BaseClusterDetector { } public async getKubernetesVersion() { - if (this.cluster.version) return this.cluster.version; - const response = await this.k8sRequest("/version"); return response.gitVersion;