Skip to content

Commit 4fc7d2e

Browse files
committed
Fix deepcopy codgen to consider all subdirectories
The deepcopy generate was missing "apis/..." which meant that it wasn't generating all of the code.
1 parent 1214717 commit 4fc7d2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/update-codegen.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,5 +195,5 @@ if [ "$run_deepcopy" = true ]; then
195195
echo "Generating deepcopy at ${APIS_PATH}"
196196
go run sigs.k8s.io/controller-tools/cmd/controller-gen \
197197
object:headerFile="${SCRIPT_ROOT}/hack/boilerplate.generatego.txt" \
198-
paths="./${APIS_PATH}"
198+
paths="./${APIS_PATH}/..."
199199
fi

0 commit comments

Comments
 (0)