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

Fix go install for newer golangs #535

Merged
merged 1 commit into from
Apr 11, 2023
Merged

Fix go install for newer golangs #535

merged 1 commit into from
Apr 11, 2023

Conversation

SuperSandro2000
Copy link
Contributor

I was greeted with this error:

 ▶ GO111MODULE=on go install golang.stackrox.io/kube-linter/cmd/kube-linter
go: 'go install' requires a version when current directory is not in a module
        Try 'go install golang.stackrox.io/kube-linter/cmd/kube-linter@latest' to install the latest version

also setting GO11MODULE shouldn't be required since a while now.

@SuperSandro2000 SuperSandro2000 requested a review from janisz as a code owner April 11, 2023 08:32
@janisz janisz added bug Something isn't working documentation Improvements or additions to documentation labels Apr 11, 2023
@janisz
Copy link
Collaborator

janisz commented Apr 11, 2023

@SuperSandro2000 Thank you!

@janisz janisz merged commit 68b3287 into stackrox:main Apr 11, 2023
@SuperSandro2000 SuperSandro2000 deleted the patch-1 branch April 11, 2023 11:25
abrad3 pushed a commit to abrad3/kube-linter that referenced this pull request Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants