8000 Fixed scripts/rest_client_patch.diff, it is corrupt and cannot be app… · FlorianJDF/kubernetes-python@ecb669a · GitHub
[go: up one dir, main page]

Skip to content

Commit ecb669a

Browse files
committed
Fixed scripts/rest_client_patch.diff, it is corrupt and cannot be applied.
1 parent 8cc9f98 commit ecb669a

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)
0