Skip to content

Need to manually delete generated files before running make generate #4077

@candita

Description

@candita

What happened:
Running make generate doesn't delete the generated files in pkg/client, and doesn't regenerate if they exist.

What you expected to happen:
Running make generate should delete any files it cannot overwrite.

How to reproduce it (as minimally and precisely as possible):
make generate
change or add a CRD
make generate
/hack/../hack/verify-golint.sh
some files are not regenerated and errors are seen in the linter output

Anything else we need to know?:
Files starting with zz_generated are overwritten, they don't need to be cleaned up.

Metadata

Metadata

Assignees

Labels

good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions