We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49981a7 commit dd5d320Copy full SHA for dd5d320
hack/jenkins/installers/check_install_golang.sh
@@ -55,7 +55,7 @@ function check_and_install_golang() {
55
# golang has been installed and check its version
56
if [[ $(go version | cut -d' ' -f 3) =~ go(([0-9]+)\.([0-9]+).([0-9]+)*) ]]; then
57
HOST_VERSION=${BASH_REMATCH[1]}
58
- if [ $HOST_VERSION = $VERSION_TO_INSTALL ]; then
+ if [ $HOST_VERSION == $VERSION_TO_INSTALL ]; then
59
echo "go version on the host looks good : $HOST_VERSION"
60
else
61
echo "WARNING: expected go version to be $VERSION_TO_INSTALL but got $HOST_VERSION"
0 commit comments