We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 467f74c commit 076d7abCopy full SHA for 076d7ab
python/perftest/models/v1alpha1/fio.py
@@ -276,10 +276,8 @@ def summarise(self):
276
if not self.status.client_log:
277
raise PodResultsIncompleteError("master pod has not recorded a result yet")
278
# Compute the result from the client log
279
- # Drop the lines from the log until we reach the start of the results
280
try:
281
- json_lines = it.dropwhile(lambda l: re.match(r"^{", l) is None, self.status.client_log.splitlines())
282
- fio_json = json.loads("\n".join(json_lines))
+ fio_json = json.loads(self.status.client_log)
283
except:
284
raise PodLogFormatError("pod log is not of the expected format")
285
0 commit comments