Skip to content

Commit

Permalink
remove empty boilerplate file (#1050)
Browse files Browse the repository at this point in the history
The command to generate the DeepCopy code for the ingress CRD objects
references an empty headerFile. The headerFile parameter appears to be
optional, so I think we can skip it instead of passing an empty file.
  • Loading branch information
kenjenkins authored Oct 24, 2024
1 parent 743d129 commit 0f50ef6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ generated: config/crd/bases/ingress.pomerium.io_pomerium.yaml apis/ingress/v1/zz

apis/ingress/v1/zz_generated.deepcopy.go: apis/ingress/v1/pomerium_types.go
@echo "==> $@"
@$(CONTROLLER_GEN) object:headerFile=./hack/boilerplate.go.txt paths=$(CRD_PACKAGE) output:dir=apis/ingress/v1
@$(CONTROLLER_GEN) object paths=$(CRD_PACKAGE) output:dir=apis/ingress/v1

config/crd/bases/ingress.pomerium.io_pomerium.yaml: apis/ingress/v1/pomerium_types.go
@echo "==> $@"
Expand Down
Empty file removed hack/boilerplate.go.txt
Empty file.

0 comments on commit 0f50ef6

Please sign in to comment.