From 56a0f02811237afaa326a5c6ecf1b585eb618210 Mon Sep 17 00:00:00 2001 From: Ankitsinghsisodya Date: Wed, 1 Apr 2026 15:56:46 +0530 Subject: [PATCH] hack: remove deprecated export GO111MODULE=on GO111MODULE=on is a no-op on Go 1.21+ and the module already declares go 1.25.0 in go.mod. Remove the export from hack/verify-codegen.sh, hack/e2e-debug.sh, and test/e2e-common.sh. --- hack/e2e-debug.sh | 2 -- hack/verify-codegen.sh | 2 -- test/e2e-common.sh | 2 -- 3 files changed, 6 deletions(-) diff --git a/hack/e2e-debug.sh b/hack/e2e-debug.sh index b2bc01bccd6..46fae985f37 100755 --- a/hack/e2e-debug.sh +++ b/hack/e2e-debug.sh @@ -14,8 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -export GO111MODULE=on - source $(dirname "$0")/../test/e2e-common.sh test_name="$1" diff --git a/hack/verify-codegen.sh b/hack/verify-codegen.sh index 6b7f1dcc71a..a2c8523da4a 100755 --- a/hack/verify-codegen.sh +++ b/hack/verify-codegen.sh @@ -18,8 +18,6 @@ set -o errexit set -o nounset set -o pipefail -export GO111MODULE=on - source $(dirname $0)/../vendor/knative.dev/hack/library.sh readonly TMP_DIFFROOT="$(mktemp -d ${REPO_ROOT_DIR}/tmpdiffroot.XXXXXX)" diff --git a/test/e2e-common.sh b/test/e2e-common.sh index 96970bd35f1..dcf42af5bf3 100755 --- a/test/e2e-common.sh +++ b/test/e2e-common.sh @@ -18,8 +18,6 @@ # shellcheck disable=SC1090 -export GO111MODULE=on - source "$(dirname "${BASH_SOURCE[0]}")/../vendor/knative.dev/hack/e2e-tests.sh" # If gcloud is not available make it a no-op, not an error.