Skip to content

Commit

Permalink
Merge pull request #243 from orelmisan/rm-go-mod-compat
Browse files Browse the repository at this point in the history
Makefile, vendor: Remove compat flag
  • Loading branch information
RamLavi authored Aug 20, 2024
2 parents fba9007 + 3173c06 commit 60fa1ee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ BIN_DIR = $(CURDIR)/_output/bin
CRI_BIN ?= $(shell hack/detect_cri.sh)
LINTER_IMAGE_NAME := docker.io/golangci/golangci-lint
LINTER_IMAGE_TAG := v1.60.1
GO_MOD_VERSION=$(shell hack/go-mod-version.sh)
KUBECONFIG ?= $(HOME)/.kube/config

E2E_TEST_TIMEOUT ?= 1h
Expand Down Expand Up @@ -91,7 +90,7 @@ vendor:
$(CRI_BIN) run --rm \
--volume $(CURDIR):$(CURDIR):Z \
--workdir $(CURDIR) \
$(GO_IMAGE_NAME):$(GO_IMAGE_TAG) go mod tidy -compat=$(GO_MOD_VERSION) && go mod vendor
$(GO_IMAGE_NAME):$(GO_IMAGE_TAG) go mod tidy && go mod vendor
.PHONY: vendor

build-vm-image-builder:
Expand Down
3 changes: 0 additions & 3 deletions hack/go-mod-version.sh

This file was deleted.

0 comments on commit 60fa1ee

Please sign in to comment.