Skip to content

Commit

Permalink
Fix execution ARN
Browse files Browse the repository at this point in the history
  • Loading branch information
jterry64 committed Aug 1, 2024
1 parent d8b695e commit c3a6ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/jobs/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async def _get_user_job(job_id: UUID) -> UserJob:


async def _get_sfn_execution(job_id: UUID) -> Dict[str, Any]:
execution_arn = f"{RASTER_ANALYSIS_STATE_MACHINE_ARN.replace('stateMachines', 'execution')}:{str(job_id)}"
execution_arn = f"{RASTER_ANALYSIS_STATE_MACHINE_ARN.replace('stateMachine', 'execution')}:{str(job_id)}"
execution = get_sfn_client().describe_execution(executionArn=execution_arn)
return execution

Expand Down

0 comments on commit c3a6ece

Please sign in to comment.