diff --git a/CHANGELOG.md b/CHANGELOG.md index a38649c5a..3b8d74ccc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/kubernetes/client/apis/custom_objects_api.py b/kubernetes/client/apis/custom_objects_api.py index 90236a362..12848a915 100644 --- a/kubernetes/client/apis/custom_objects_api.py +++ b/kubernetes/client/apis/custom_objects_api.py @@ -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']