Skip to content

Commit 8e7a17e

Browse files
author
Tom Barnes
committed
If version cannot easily be checked, report a friendly Info message instead of an Info messagee that the version is '9999.9999.9999.9999'.
1 parent 9c6788f commit 8e7a17e

File tree

1 file changed

+4
-0
lines changed
  • operator/src/main/resources/scripts

1 file changed

+4
-0
lines changed

operator/src/main/resources/scripts/utils.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,10 @@ checkWebLogicVersion()
263263
return 1
264264
fi
265265
fi
266+
if versionEQ "$cur_wl_ver" "9999.9999.9999.9999" ; then
267+
trace "Info: Could not determine WebLogic version. Assuming version is fine. (The Operator requires WebLogic version '${exp_wl_ver}' or higher, and also requires patches '$exp_wl_12213_patches' for version '12.2.1.3'.)."
268+
return 0
269+
fi
266270
if versionGE "$cur_wl_ver" "${exp_wl_ver}" ; then
267271
trace "Info: WebLogic version='$cur_wl_ver'. Version check passed. (The Operator requires WebLogic version '${exp_wl_ver}' or higher)."
268272
else

0 commit comments

Comments
 (0)