Skip to content

Commit 411f994

Browse files
committed
Rename StartWorkflow -> ScheduleWorkflow
Signed-off-by: joshvanl <[email protected]>
1 parent 0cfc77c commit 411f994

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

workflow/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ func (c *Client) StartWorker(ctx context.Context, r *Registry) error {
3030
return c.thgc.StartWorkItemListener(ctx, r.registry)
3131
}
3232

33-
// StartWorkflow schedules a new workflow instance with a specified set of
33+
// ScheduleWorkflow schedules a new workflow instance with a specified set of
3434
// options for execution.
35-
func (c *Client) StartWorkflow(ctx context.Context, orchestrator string, opts ...NewWorkflowOptions) (string, error) {
35+
func (c *Client) ScheduleWorkflow(ctx context.Context, orchestrator string, opts ...NewWorkflowOptions) (string, error) {
3636
oopts := make([]api.NewOrchestrationOptions, len(opts))
3737
for i, o := range opts {
3838
oopts[i] = api.NewOrchestrationOptions(o)

0 commit comments

Comments
 (0)