Skip to content

Commit 24d2b50

Browse files
committed
Revert "fix: api_client.py"
This reverts commit 5457d32.
1 parent 05cf2d4 commit 24d2b50

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

kubernetes/client/api_client.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -261,14 +261,7 @@ def deserialize(self, response, response_type):
261261
except ValueError:
262262
data = response.data
263263

264-
result = self.__deserialize(data, response_type)
265-
if response_type == "V1PodList":
266-
for pod in result.items:
267-
if pod.metadata and pod.metadata.deletion_timestamp:
268-
pod.status.phase = "Terminating"
269-
270-
print(result)
271-
return result
264+
return self.__deserialize(data, response_type)
272265

273266
def __deserialize(self, data, klass):
274267
"""Deserializes dict, list, str into an object.

0 commit comments

Comments
 (0)