Merge pull request #887 from roycaihw/patch-10.0-cr-content-type
Fix custom object patch API content type in release-10.0 branch
This commit is contained in:
commit
fd9edfe1c0
@ -1,3 +1,7 @@
|
||||
# v10.0.1
|
||||
**Bug Fix:**
|
||||
- Fix content type regression in custom object patch API [kubernetes-client/python#866](https://github.com/kubernetes-client/python/issues/866)
|
||||
|
||||
# v10.0.0
|
||||
**Bug Fix:**
|
||||
- Fix base64 padding for kube config [kubernetes-client/python-base#79](https://github.com/kubernetes-client/python-base/pull/79)
|
||||
|
||||
@ -1657,7 +1657,7 @@ class CustomObjectsApi(object):
|
||||
|
||||
# HTTP header `Content-Type`
|
||||
header_params['Content-Type'] = self.api_client.\
|
||||
select_header_content_type(['application/json-patch+json', 'application/merge-patch+json'])
|
||||
select_header_content_type(['application/merge-patch+json', 'application/json-patch+json'])
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = ['BearerToken']
|
||||
@ -1781,7 +1781,7 @@ class CustomObjectsApi(object):
|
||||
|
||||
# HTTP header `Content-Type`
|
||||
header_params['Content-Type'] = self.api_client.\
|
||||
select_header_content_type(['application/json-patch+json', 'application/merge-patch+json'])
|
||||
select_header_content_type(['application/merge-patch+json', 'application/json-patch+json'])
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = ['BearerToken']
|
||||
@ -1905,7 +1905,7 @@ class CustomObjectsApi(object):
|
||||
|
||||
# HTTP header `Content-Type`
|
||||
header_params['Content-Type'] = self.api_client.\
|
||||
select_header_content_type(['application/json-patch+json', 'application/merge-patch+json'])
|
||||
select_header_content_type(['application/merge-patch+json', 'application/json-patch+json'])
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = ['BearerToken']
|
||||
@ -2036,7 +2036,7 @@ class CustomObjectsApi(object):
|
||||
|
||||
# HTTP header `Content-Type`
|
||||
header_params['Content-Type'] = self.api_client.\
|
||||
select_header_content_type(['application/json-patch+json', 'application/merge-patch+json'])
|
||||
select_header_content_type(['application/merge-patch+json', 'application/json-patch+json'])
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = ['BearerToken']
|
||||
@ -2167,7 +2167,7 @@ class CustomObjectsApi(object):
|
||||
|
||||
# HTTP header `Content-Type`
|
||||
header_params['Content-Type'] = self.api_client.\
|
||||
select_header_content_type(['application/json-patch+json', 'application/merge-patch+json'])
|
||||
select_header_content_type(['application/merge-patch+json', 'application/json-patch+json'])
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = ['BearerToken']
|
||||
@ -2298,7 +2298,7 @@ class CustomObjectsApi(object):
|
||||
|
||||
# HTTP header `Content-Type`
|
||||
header_params['Content-Type'] = self.api_client.\
|
||||
select_header_content_type(['application/json-patch+json', 'application/merge-patch+json'])
|
||||
select_header_content_type(['application/merge-patch+json', 'application/json-patch+json'])
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = ['BearerToken']
|
||||
|
||||
Loading…
Reference in New Issue
Block a user