Skip to content

Commit

Permalink
Update start time calculation for SageMaker Orchestrator
Browse files Browse the repository at this point in the history
  • Loading branch information
htahir1 committed Jan 9, 2025
1 parent 48f93ff commit b995970
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,8 @@ def prepare_or_run_pipeline(
enabled=True,
)
next_execution = (
deployment.schedule.start_time or datetime.utcnow()
deployment.schedule.start_time
or datetime.now(timezone.utc)
) + deployment.schedule.interval_second
else:
# One-time schedule
Expand Down

0 comments on commit b995970

Please sign in to comment.