mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Fix a typo in util.sh that resulted in wrong openapi spec generation
This commit is contained in:
parent
3be5706830
commit
4ed8328e8d
@ -428,7 +428,7 @@ kube::util::fetch-openapi-spec() {
|
||||
continue
|
||||
fi
|
||||
SUBPATH="apis/"${ver%/*}
|
||||
OPEAN_JSON_NAME="${ver%/*}.json"
|
||||
OPENAPI_JSON_NAME="${ver%/*}.json"
|
||||
curl -w "\n" -fs "${OPENAPI_PATH}${SUBPATH}/swagger.json" > "${OPENAPI_ROOT_DIR}/${OPENAPI_JSON_NAME}"
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user