Skip to content

Commit

Permalink
hotfix kubernetes-client#866: switch the order of content-type so JSO…
Browse files Browse the repository at this point in the history
…N merge patch is

used by default
  • Loading branch information
roycaihw committed Jul 19, 2019
1 parent ba8b9fa commit fd9dac3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions kubernetes/client/apis/custom_objects_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1657,7 +1657,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(['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']
Expand Down Expand Up @@ -1781,7 +1781,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(['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']
Expand Down Expand Up @@ -1905,7 +1905,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(['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']
Expand Down Expand Up @@ -2036,7 +2036,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(['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']
Expand Down Expand Up @@ -2167,7 +2167,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(['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']
Expand Down Expand Up @@ -2298,7 +2298,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(['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']
Expand Down

0 comments on commit fd9dac3

Please sign in to comment.