diff --git a/Makefile b/Makefile index 83bd5bd04..4071713d0 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ MAIN_PKG=cmd/manager/main.go export NAMESPACE?=openshift-sriov-network-operator export WATCH_NAMESPACE?=openshift-sriov-network-operator export ENABLE_ADMISSION_CONTROLLER?=true -export GOFLAGS=-mod=vendor +export GOFLAGS+=-mod=vendor export GO111MODULE=on PKGS=$(shell go list ./... | grep -v -E '/vendor/|/test|/examples')