Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

turn on GO111MODULE in build #61

Merged
merged 2 commits into from
Feb 14, 2020
Merged

Conversation

Kaizhe
Copy link
Contributor

@Kaizhe Kaizhe commented Jan 28, 2020

Signed-off-by: kaizhe derek0405@gmail.com

turn on GO111MODULE in case it is not set in people's env.

Signed-off-by: kaizhe <derek0405@gmail.com>
@hashicorp-cla
Copy link

hashicorp-cla commented Jan 28, 2020

CLA assistant check
All committers have signed the CLA.

@jasonodonnell jasonodonnell self-requested a review January 31, 2020 15:05
Makefile Outdated
@@ -13,6 +13,7 @@ BIN_NAME=$(IMAGE_NAME)_$(GOOS)_$(GOARCH)_$(VERSION)
all: build

build:
export GO111MODULE=on
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is export really needed or could this be prepended to the go build command like the other envs?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed, thanks!

Signed-off-by: kaizhe <derek0405@gmail.com>
@jasonodonnell jasonodonnell merged commit 43ffad4 into hashicorp:master Feb 14, 2020
@jasonodonnell jasonodonnell added this to the 0.3.0 milestone Feb 20, 2020
@jasonodonnell jasonodonnell mentioned this pull request Mar 4, 2020
RemcoBuddelmeijer pushed a commit to RemcoBuddelmeijer/vault-k8s that referenced this pull request Feb 22, 2022
* turn on GO111MODULE in build

Signed-off-by: kaizhe <derek0405@gmail.com>

* remove export

Signed-off-by: kaizhe <derek0405@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants