Skip to content

Commit

Permalink
update execution api to include the step id
Browse files Browse the repository at this point in the history
  • Loading branch information
antho1404 committed Aug 9, 2019
1 parent 545a45f commit 56c96f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/grpc/api/execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (s *ExecutionServer) Create(ctx context.Context, req *api.CreateExecutionRe
if err != nil {
return nil, err
}
executionHash, err := s.sdk.Execution.Execute(nil, instanceHash, eventHash, nil, req.TaskKey, inputs, req.Tags)
executionHash, err := s.sdk.Execution.Execute(nil, instanceHash, eventHash, nil, "", req.TaskKey, inputs, req.Tags)
if err != nil {
return nil, err
}
Expand Down Expand Up @@ -162,5 +162,6 @@ func toProtoExecution(exec *execution.Execution) (*types.Execution, error) {
Outputs: outputs,
Tags: exec.Tags,
Error: exec.Error,
StepID: exec.StepID,
}, nil
}

0 comments on commit 56c96f7

Please sign in to comment.