From c80008bbfefde45d95af42e96ae1484c366edd89 Mon Sep 17 00:00:00 2001 From: Kiran Kamineni Date: Fri, 30 Aug 2019 15:09:43 -0700 Subject: Remove gopath from builds Remove gopath from builds as go mod does not require them. Issue-ID: MULTICLOUD-666 Change-Id: I3fa4057fb4d40c7f509a52fb82beceddc8f3e090 Signed-off-by: Kiran Kamineni --- src/k8splugin/Makefile | 3 --- src/monitor/Makefile | 2 -- 2 files changed, 5 deletions(-) diff --git a/src/k8splugin/Makefile b/src/k8splugin/Makefile index 55449947..bc5f0950 100644 --- a/src/k8splugin/Makefile +++ b/src/k8splugin/Makefile @@ -7,9 +7,6 @@ # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## -GOPATH := $(shell realpath "$(PWD)/../../") - -export GOPATH ... export GO111MODULE=on .PHONY: plugins diff --git a/src/monitor/Makefile b/src/monitor/Makefile index b783bf63..8c6a851f 100644 --- a/src/monitor/Makefile +++ b/src/monitor/Makefile @@ -8,11 +8,9 @@ ############################################################################## PWD := $(shell pwd) -GOPATH := $(shell realpath "$(PWD)/../../") PLATFORM := linux BINARY := monitor -export GOPATH ... export GO111MODULE=on all: test build -- cgit 1.2.3-korg