Skip to content

Commit c2f500a

Browse files
committed
update to use controller-gen v0.19.0
1 parent 19d7fb6 commit c2f500a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ docker-push-w-buildx:
132132
# find or download controller-gen
133133
# download controller-gen if necessary
134134
controller-gen:
135-
ifeq (, $(shell which controller-gen))
136135
@{ \
137136
set -e ;\
138137
CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\
@@ -142,9 +141,6 @@ ifeq (, $(shell which controller-gen))
142141
rm -rf $$CONTROLLER_GEN_TMP_DIR ;\
143142
}
144143
CONTROLLER_GEN=$(GOBIN)/controller-gen
145-
else
146-
CONTROLLER_GEN=$(shell which controller-gen)
147-
endif
148144

149145
# find or download mockgen
150146
# download mockgen if necessary

0 commit comments

Comments
 (0)