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

[tasks] stop the build if GO111MODULE is set to on. #4995

Merged
merged 9 commits into from
Mar 10, 2020
Prev Previous commit
tasks: error message.
  • Loading branch information
remeh committed Mar 9, 2020
commit 45ba5009e3624591201c290b8fa963e9d8a940df
2 changes: 1 addition & 1 deletion tasks/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,4 +292,4 @@ def check_go111module_envvar(command):
print("The Datadog Agent is not using Go modules yet and can't be built with Go modules enabled.")
print("Please unset the environment variable or call the invoke task with GO111MODULE set to off. E.g.")
print("\tGO111MODULE=off invoke " + command)
raise invoke.exceptions.Exit(code=-1, message="<the error message to print>")
raise invoke.exceptions.Exit(code=-1, message="The Datadog Agent is not compatible with Go modules yet, GO111MODULE should not be set to 'on'.")