Skip to content

Commit

Permalink
Merge pull request #2234 from yliaog/master
Browse files Browse the repository at this point in the history
commented out rest_urllib_headers.diff as it caused AttributeError:
  • Loading branch information
k8s-ci-robot committed May 21, 2024
2 parents 94e4211 + f9c38c5 commit e1fce8d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/update-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@ git apply "${SCRIPT_ROOT}/rest_client_patch.diff"
# once we upgrade to a version of swagger-codegen that includes it (version>= 6.6.0).
# See https://github.com/OpenAPITools/openapi-generator/pull/15283
git apply "${SCRIPT_ROOT}/rest_sni_patch.diff"
# The following is commented out due to:
# AttributeError: 'RESTResponse' object has no attribute 'headers'
# OpenAPI client generator prior to 6.4.0 uses deprecated urllib3 APIs.
git apply "${SCRIPT_ROOT}/rest_urllib_headers.diff"
# git apply "${SCRIPT_ROOT}/rest_urllib_headers.diff"

echo ">>> generating docs..."
pushd "${DOC_ROOT}" > /dev/null
Expand Down

0 comments on commit e1fce8d

Please sign in to comment.