From 17fe35a2d026f7ff6646b9c40fe28f25f22b2833 Mon Sep 17 00:00:00 2001 From: Martin Simka Date: Tue, 23 Nov 2021 13:12:32 +0100 Subject: [PATCH] bump openshift-client to 5.11.1 --- .../main/java/cz/xtf/core/openshift/ClusterVersionInfo.java | 3 +-- core/src/main/java/cz/xtf/core/openshift/OpenShift.java | 2 +- core/src/main/java/cz/xtf/core/openshift/PodShell.java | 3 +-- pom.xml | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/core/src/main/java/cz/xtf/core/openshift/ClusterVersionInfo.java b/core/src/main/java/cz/xtf/core/openshift/ClusterVersionInfo.java index daec6fa9..3d629cd7 100644 --- a/core/src/main/java/cz/xtf/core/openshift/ClusterVersionInfo.java +++ b/core/src/main/java/cz/xtf/core/openshift/ClusterVersionInfo.java @@ -109,8 +109,7 @@ private String detectClusterVersionFromCluster() { // admin is required for operation try { NonNamespaceOperation> op = OpenShiftHandlers - .getOperation(ClusterVersion.class, ClusterVersionList.class, OpenShifts.admin().getHttpClient(), - OpenShifts.admin().getConfiguration()); + .getOperation(ClusterVersion.class, ClusterVersionList.class, OpenShifts.admin()); openshiftVersion = op.withName("version").get().getStatus().getDesired().getVersion(); } catch (KubernetesClientException kce) { log.warn("xtf.openshift.version isn't configured and automatic version detection failed.", kce); diff --git a/core/src/main/java/cz/xtf/core/openshift/OpenShift.java b/core/src/main/java/cz/xtf/core/openshift/OpenShift.java index 8082a010..068bbdd9 100644 --- a/core/src/main/java/cz/xtf/core/openshift/OpenShift.java +++ b/core/src/main/java/cz/xtf/core/openshift/OpenShift.java @@ -186,7 +186,7 @@ protected static synchronized ServiceLoader 4.5.13 - 5.9.0 + 5.11.1 2.8.0 3.11 1.21