mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 10:18:13 +00:00 
			
		
		
		
	verify-generated-swagger-docs: remove unnecessary build
This commit is contained in:
		| @@ -28,21 +28,6 @@ source "${KUBE_ROOT}/hack/lib/init.sh" | ||||
|  | ||||
| kube::golang::setup_env | ||||
|  | ||||
| make -C "${KUBE_ROOT}" WHAT=cmd/genswaggertypedocs | ||||
|  | ||||
| # Find binary | ||||
| genswaggertypedocs=$(kube::util::find-binary "genswaggertypedocs") | ||||
|  | ||||
| if [[ ! -x "$genswaggertypedocs" ]]; then | ||||
|   { | ||||
|     echo "It looks as if you don't have a compiled genswaggertypedocs binary" | ||||
|     echo | ||||
|     echo "If you are running from a clone of the git repo, please run" | ||||
|     echo "'make WHAT=cmd/genswaggertypedocs'." | ||||
|   } >&2 | ||||
|   exit 1 | ||||
| fi | ||||
|  | ||||
| _tmpdir="$(kube::realpath "$(mktemp -d -t swagger-docs.XXXXXX)")" | ||||
| function swagger_cleanup { | ||||
|   rm -rf "${_tmpdir}" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Haowei Cai
					Haowei Cai