Skip to content
Snippets Groups Projects
Verified Commit decb9efa authored by Daniel Göbel's avatar Daniel Göbel
Browse files

Remove s3 prefix from report output bucket

#29
parent a38604ed
No related branches found
No related tags found
No related merge requests found
......@@ -134,7 +134,9 @@ async def start_workflow_execution(
ctx = BinaryWriterContext(
f,
execution_id=execution.execution_id,
output_bucket=report_output_bucket,
output_bucket=report_output_bucket[5:]
if report_output_bucket is not None and report_output_bucket.startswith("s3://")
else report_output_bucket,
parameters=json.dumps(parameters, indent=4),
)
config_template.render_context(ctx)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment