Skip to content
Snippets Groups Projects
Verified Commit c2fc77dd authored by Jan Pavlíček's avatar Jan Pavlíček
Browse files

fix: double space after probe name

parent 6ed25381
No related branches found
No related tags found
1 merge request!38fix: double space after probe name
Pipeline #306636 passed
......@@ -26,7 +26,7 @@ def run_probe(probe_name, command):
output = re.sub("[ \t\n]+", " ", result.stdout)
search = re.search(r" - .*", output)
if search:
print(f"{result.returncode} {probe_name} {search.group()}")
print(f"{result.returncode} {probe_name}{search.group()}")
else:
print(f"{result.returncode} {probe_name} - {output}")
return result.returncode
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment