-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Fix import #1130
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 import #1130
Conversation
956ebe0 to
02e12bf
Compare
…et generate-setup
02e12bf to
7af34f3
Compare
|
Looks good to me. Pl. combine the last two commits, then its good to go. |
7af34f3 to
a07f5ac
Compare
|
Done @droot :-) |
|
This was already being tackled in #1120. In case this is merged before the other, rebase the other. |
|
Adirio, this PR in oder to solve it and help you since you are facing issues to use the golden script. |
| generate-setup: ## Current workarround to generate the testdata with the correct controller-gen version | ||
| - rm -rf $(CONTROLLER_GEN_BIN_PATH) | ||
| - GO111MODULE=on go get sigs.k8s.io/controller-tools/cmd/[email protected].1 | ||
| - GO111MODULE=on go get sigs.k8s.io/controller-tools/cmd/[email protected].2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be part of a different PR? Bumping controller-gen to v0.2.2 doesn't seem related to the import fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Adirio, the command make generate-setup is just a helper for development purpose. We can use it before exec the golden script to ensure that the correct version of the controller-gen will be used. So, it is a very small update and since it is too small I believe that would be ok be in this PR.
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: camilamacedo86 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description
Add missing import.
Motivation
Closes: #1119