Merge pull request #8879 from MaXinjian/test

check_install_golang.sh: fix "HOST_VERSION: command not found" issue
pull/8954/head
Medya Ghazizadeh 2020-08-10 12:25:02 -07:00 committed by GitHub
commit 62b54fb609
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ function check_and_install_golang() {
install_golang "$VERSION_TO_INSTALL" "$INSTALL_PATH"
fi
else
echo "ERROR: Failed to parse golang version: $HOST_VERSION"
echo "ERROR: Failed to parse golang version: $(go version)"
return
fi
}