From ecb669ad3aac24f55240542b3a4a7a257b0cbe19 Mon Sep 17 00:00:00 2001 From: Yu Liao Date: Tue, 11 Oct 2022 04:09:48 +0000 Subject: [PATCH] Fixed scripts/rest_client_patch.diff, it is corrupt and cannot be applied. --- scripts/rest_client_patch.diff | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/rest_client_patch.diff b/scripts/rest_client_patch.diff index 2a6c0bca9..82bbfed68 100644 --- a/scripts/rest_client_patch.diff +++ b/scripts/rest_client_patch.diff @@ -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):