Skip to content

Commit c3f4f1b

Browse files
authored
Merge pull request #1913 from yliaog/master
Fixed scripts/rest_client_patch.diff, it is corrupt and cannot be applied
2 parents 8cc9f98 + ecb669a commit c3f4f1b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/rest_client_patch.diff

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
diff --git a/kubernetes/client/rest.py b/kubernetes/client/rest.py
2-
index 65fbe95..e174317 100644
2+
index 5716565df..b788bf7d2 100644
33
--- a/kubernetes/client/rest.py
44
+++ b/kubernetes/client/rest.py
5-
@@ -152,6 +152,10 @@ class RESTClientObject(object):
5+
@@ -151,7 +151,12 @@ class RESTClientObject(object):
6+
if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']:
67
if query_params:
78
url += '?' + urlencode(query_params)
89
- if re.search('json', headers['Content-Type'], re.IGNORECASE):

0 commit comments

Comments
 (0)