Skip to content

update-codegen.sh doesn't work outside GOPATH #1287

@ian-mi

Description

@ian-mi

Expected Behavior

hack/update-codegen.sh should work outside of GOPATH

Actual Behavior

update-codegen either does nothing or uses an incorrect pkg version.

Steps to Reproduce the Problem

  1. Move repo outside of GOPATH.
  2. Make a change to the injection generators.
  3. Run ./hack/update-codegen.sh
  4. Observe no change to generated code.

Metadata

Metadata

Assignees

Labels

area/APIkind/bugCategorizes issue or PR as related to a bug.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions