diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index 5f34e61731f..55686d9d44e 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -49,9 +49,9 @@ for gv in "${GROUP_VERSIONS[@]}"; do # skip groups that aren't being served, clients for these don't matter - if [[ " ${KUBE_NONSERVER_GROUP_VERSIONS} " == *" ${gv} "* ]]; then - continue - fi + if [[ " ${KUBE_NONSERVER_GROUP_VERSIONS} " == *" ${gv} "* ]]; then + continue + fi GV_DIRS+=("${pkg_dir}") done