-
Notifications
You must be signed in to change notification settings - Fork 152
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 code generation command #2019
Conversation
Thanks for submitting this pull request 🎉. The team will review it soon and get back to you. If you haven't already, please take a moment to review our project contributing guideline and Code of Conduct document. |
pkg/client/clientset/versioned/typed/cr/v1alpha1/fake/fake_actionset.go
Outdated
Show resolved
Hide resolved
45b952d
to
649f948
Compare
pkg/client/informers/externalversions/cr/v1alpha1/repositoryserver.go
Outdated
Show resolved
Hide resolved
649f948
to
31a483a
Compare
/ok-to-test |
@shahpratikr when I ran it locally, I also saw changes in |
@PrasadG193 Were there any other changes than the license changes we reverted above? |
I've included the changes in this PR - https://github.com/kanisterio/kanister/pull/2023/files#diff-8729adfad15910ec5613c5fa71a69d130b81e47f0b3ac39199074c992e20d7f7 |
31a483a
to
b994930
Compare
added it |
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.
Let's add a comment on the blank import introduced. Overall looks good
Change Overview
This PR fixes
make codegen
command.Issue: Since we don't have
k8s.io/code-generator
dependency in go.mod, we are missing with code-generator directory.Solution: Import empty code-generator package in
pkg/apis/cr/v1alpha1/docs.go
. This will help in future to keep track of version change for code-generator package.Pull request type
Please check the type of change your PR introduces:
Issues
Test Plan
Manually ran
make codegen
command. It generated files successfully.