Skip to content

Commit

Permalink
[Trivial] Refine uuid split (#28)
Browse files Browse the repository at this point in the history
Signed-off-by: Vishnu Challa <[email protected]>
Co-authored-by: Vishnu Challa <[email protected]>
  • Loading branch information
vishnuchalla and Vishnu Challa authored Mar 26, 2024
1 parent da1c2fe commit 186fab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orion.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def orion(**kwargs):
logging.info("No UUID present for given metadata")
sys.exit()
else:
uuids = re.split(' |,',baseline)
uuids = [uuid for uuid in re.split(' |,',baseline) if uuid]
uuids.append(uuid)
if metadata["benchmark.keyword"] == "k8s-netperf" :
index = "k8s-netperf"
Expand Down

0 comments on commit 186fab7

Please sign in to comment.