Skip to content

Commit

Permalink
network: Filter using error rejects without whitespace
Browse files Browse the repository at this point in the history
Signed-off-by: Julia Pineda <[email protected]>
  • Loading branch information
jpineda3 committed Jan 8, 2025
1 parent 171a9b9 commit eb7e737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nebula/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def check_dmesg(self, error_on_warnings=False):
log = re.sub(r"^\[[\s\.\d]*\] ", "", i)
log_no_ws = log.replace(" ", "").replace("\n", "")

if log not in error_rejects and log_no_ws not in error_rejects_no_ws:
if log_no_ws not in error_rejects_no_ws:
error_log_filetered.append(i)

with open("dmesg_err_filtered.log", "w") as outfile:
Expand Down

0 comments on commit eb7e737

Please sign in to comment.