From 17d6b0fa39eee39ac90593bbf88b292695a801b0 Mon Sep 17 00:00:00 2001 From: Cristian Ferretti <37232625+jcferretti@users.noreply.github.com> Date: Wed, 30 Mar 2022 08:04:25 -0400 Subject: [PATCH] Fix debezium/perf/sample_top.py being tripped by leading spaces in top output. (#2145) --- debezium/perf/sample_top.py | 1 + 1 file changed, 1 insertion(+) diff --git a/debezium/perf/sample_top.py b/debezium/perf/sample_top.py index 6c6ffca1a01..9a846247447 100644 --- a/debezium/perf/sample_top.py +++ b/debezium/perf/sample_top.py @@ -58,6 +58,7 @@ results={} for line in top_out: + line = line.strip() for name, regex in name_pidre.items(): if re.search(regex, line) is not None: cols = line.split(maxsplit=12)