Skip to content

Commit

Permalink
Merge pull request #1 from rodrigues-anchorage/allow_to_pause_workflow
Browse files Browse the repository at this point in the history
Allows to pause the schedule
  • Loading branch information
vikstrous authored Oct 2, 2024
2 parents 63cf8fd + 5b51689 commit 27bc178
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ func setSchedule(ctx context.Context, temporalClient *Client, opts client.Schedu
s := input.Description.Schedule
s.Action = opts.Action
s.Spec = &opts.Spec
s.State.Paused = opts.Paused
s.Policy = &client.SchedulePolicies{
Overlap: opts.Overlap,
CatchupWindow: opts.CatchupWindow,
Expand Down

0 comments on commit 27bc178

Please sign in to comment.