Skip to content

Commit

Permalink
Fix custom objects API to preserve backward compatibility
Browse files Browse the repository at this point in the history
Reference:
- [kubernetes-client#866](kubernetes-client#866)
- [kubernetes-client#959](kubernetes-client#959)

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
  • Loading branch information
palnabarun authored and roycaihw committed Apr 12, 2021
1 parent 3b247f5 commit 61f1fbe
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions kubernetes/client/api/custom_objects_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2425,7 +2425,7 @@ def patch_cluster_custom_object_with_http_info(self, group, version, plural, nam

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json-patch+json', 'application/merge-patch+json']) # noqa: E501
['application/merge-patch+json']) # noqa: E501

# Authentication setting
auth_settings = ['BearerToken'] # noqa: E501
Expand Down Expand Up @@ -2594,7 +2594,7 @@ def patch_cluster_custom_object_scale_with_http_info(self, group, version, plura

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json-patch+json', 'application/merge-patch+json']) # noqa: E501
['application/merge-patch+json']) # noqa: E501

# Authentication setting
auth_settings = ['BearerToken'] # noqa: E501
Expand Down Expand Up @@ -2763,7 +2763,7 @@ def patch_cluster_custom_object_status_with_http_info(self, group, version, plur

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json-patch+json', 'application/merge-patch+json']) # noqa: E501
['application/merge-patch+json']) # noqa: E501

# Authentication setting
auth_settings = ['BearerToken'] # noqa: E501
Expand Down Expand Up @@ -2941,7 +2941,7 @@ def patch_namespaced_custom_object_with_http_info(self, group, version, namespac

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json-patch+json', 'application/merge-patch+json']) # noqa: E501
['application/merge-patch+json']) # noqa: E501

# Authentication setting
auth_settings = ['BearerToken'] # noqa: E501
Expand Down Expand Up @@ -3119,7 +3119,7 @@ def patch_namespaced_custom_object_scale_with_http_info(self, group, version, na

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json-patch+json', 'application/merge-patch+json', 'application/apply-patch+yaml']) # noqa: E501
['application/merge-patch+json']) # noqa: E501

# Authentication setting
auth_settings = ['BearerToken'] # noqa: E501
Expand Down Expand Up @@ -3297,7 +3297,7 @@ def patch_namespaced_custom_object_status_with_http_info(self, group, version, n

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json-patch+json', 'application/merge-patch+json', 'application/apply-patch+yaml']) # noqa: E501
['application/merge-patch+json']) # noqa: E501

# Authentication setting
auth_settings = ['BearerToken'] # noqa: E501
Expand Down

0 comments on commit 61f1fbe

Please sign in to comment.