Skip to content

Commit

Permalink
Merge pull request #1913 from yliaog/master
Browse files Browse the repository at this point in the history
Fixed scripts/rest_client_patch.diff, it is corrupt and cannot be applied
  • Loading branch information
k8s-ci-robot committed Oct 11, 2022
2 parents 8cc9f98 + ecb669a commit c3f4f1b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/rest_client_patch.diff
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
diff --git a/kubernetes/client/rest.py b/kubernetes/client/rest.py
index 65fbe95..e174317 100644
index 5716565df..b788bf7d2 100644
--- a/kubernetes/client/rest.py
+++ b/kubernetes/client/rest.py
@@ -152,6 +152,10 @@ class RESTClientObject(object):
@@ -151,7 +151,12 @@ class RESTClientObject(object):
if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']:
if query_params:
url += '?' + urlencode(query_params)
- if re.search('json', headers['Content-Type'], re.IGNORECASE):
Expand Down

0 comments on commit c3f4f1b

Please sign in to comment.