Skip to content

Commit

Permalink
Merge pull request #690 from DevanathanSabapathy1/workload_location_b…
Browse files Browse the repository at this point in the history
…ug_fix

fixing error for workload location with trailing '/'
  • Loading branch information
sathiish-kumar authored Jun 21, 2023
2 parents 0de03da + 8d756e7 commit 858baf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SimpleReplay/replay.py
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ def parse_copy_replacements(workload_directory):
copy_replacements = {}
copy_replacements_reader = None

replacements_path = workload_directory + "/" + g_copy_replacements_filename
replacements_path = workload_directory.rstrip("/") + "/" + g_copy_replacements_filename

if replacements_path.startswith("s3://"):
workload_s3_location = replacements_path[5:].partition("/")
Expand Down

0 comments on commit 858baf7

Please sign in to comment.