From: Kiran Kamineni Date: Fri, 30 Aug 2019 22:09:43 +0000 (-0700) Subject: Remove gopath from builds X-Git-Tag: 0.5.0~9^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=c80008bbfefde45d95af42e96ae1484c366edd89;p=multicloud%2Fk8s.git 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 --- 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