From edacf3bec67f18f39564c1426984981e9287d2aa Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Thu, 11 Aug 2022 23:37:00 -0700 Subject: [PATCH] Fix distribution detector erroneously depending on previous metadata (#6023) Signed-off-by: Sebastian Malton 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;