Skip to content

Commit

Permalink
Fix debezium/perf/sample_top.py being tripped by leading spaces in to…
Browse files Browse the repository at this point in the history
…p output. (#2145)
  • Loading branch information
jcferretti authored Mar 30, 2022
1 parent 49ad476 commit 17d6b0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions debezium/perf/sample_top.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 17d6b0f

Please sign in to comment.