File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -549,7 +549,7 @@ generate-go-conversions-test-extension: $(CONVERSION_GEN) ## Generate conversion
549
549
# The tmp/sigs.k8s.io/cluster-api symlink is a workaround to make this target run outside of GOPATH
550
550
.PHONY : generate-go-openapi
551
551
generate-go-openapi : $(OPENAPI_GEN ) # # Generate openapi go code for runtime SDK
552
- @mkdir -p ./tmp/sigs.k8s.io; ln -s $(ROOT_DIR ) ./tmp/sigs.k8s.io/; cd ./tmp; \
552
+ @mkdir -p ./tmp/sigs.k8s.io; rm -f ./tmp/sigs.k8s.io/cluster-api ; ln -s $(ROOT_DIR ) ./tmp/sigs.k8s.io/cluster-api ; cd ./tmp; \
553
553
for pkg in " api/core/v1beta2" " api/core/v1beta1" " api/runtime/hooks/v1alpha1" ; do \
554
554
(cd ../ && $( MAKE) clean-generated-openapi-definitions SRC_DIRS=" ./$$ {pkg}" ); \
555
555
echo " ** Generating openapi schema for types in ./$$ {pkg} **" ; \
You can’t perform that action at this time.
0 commit comments