Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9959273

Browse files
committed
hotfix for patching custom objects issue#866
1 parent dee0786 commit 9959273

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

kubernetes/client/api/custom_objects_api.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1727,7 +1727,7 @@ def patch_cluster_custom_object_with_http_info(self, group, version, plural, nam
17271727

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

17321732
# Authentication setting
17331733
auth_settings = ['BearerToken'] # noqa: E501
@@ -1859,7 +1859,7 @@ def patch_cluster_custom_object_scale_with_http_info(self, group, version, plura
18591859

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

18641864
# Authentication setting
18651865
auth_settings = ['BearerToken'] # noqa: E501
@@ -1991,7 +1991,7 @@ def patch_cluster_custom_object_status_with_http_info(self, group, version, plur
19911991

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

19961996
# Authentication setting
19971997
auth_settings = ['BearerToken'] # noqa: E501
@@ -2131,7 +2131,7 @@ def patch_namespaced_custom_object_with_http_info(self, group, version, namespac
21312131

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

21362136
# Authentication setting
21372137
auth_settings = ['BearerToken'] # noqa: E501
@@ -2271,7 +2271,7 @@ def patch_namespaced_custom_object_scale_with_http_info(self, group, version, na
22712271

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

22762276
# Authentication setting
22772277
auth_settings = ['BearerToken'] # noqa: E501
@@ -2411,7 +2411,7 @@ def patch_namespaced_custom_object_status_with_http_info(self, group, version, n
24112411

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

24162416
# Authentication setting
24172417
auth_settings = ['BearerToken'] # noqa: E501

0 commit comments

Comments
 (0)