We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3623dad commit be01efcCopy full SHA for be01efc
src/main/java/oracle/kubernetes/operator/helpers/HealthCheckHelper.java
@@ -241,7 +241,14 @@ private void verifyK8sVersion() throws ApiException {
241
if (major < 1) {
242
k8sMinVersion = false;
243
} else if (major == 1) {
244
- Integer minor = Integer.parseInt(info.getMinor());
+ // issue-36, revisited
245
+ // minor can be "8+"
246
+ String m = info.getMinor();
247
+ int idx = m.indexOf('+');
248
+ if (idx > 0) {
249
+ m = m.substring(0, idx);
250
+ }
251
+ Integer minor = Integer.parseInt(m);
252
if (minor < 7) {
253
254
} else if (minor == 7) {
0 commit comments