Skip to content

Commit

Permalink
job/task: Placeholder for starting the run
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Jung <a.jung@lancs.ac.uk>
  • Loading branch information
nderjung committed Dec 20, 2020
1 parent d20e2b4 commit 2f49b8b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions job/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,9 @@ func NewActiveTaskRun(task *Task, run Run, coreIds []int) (*ActiveTaskRun, error
func (atr *ActiveTaskRun) UUID() string {
return fmt.Sprintf("%s-%s", atr.Task.UUID(), atr.run.Name)
}

// Start the task's run
func (atr *ActiveTaskRun) Start() (int, error) {
// TODO: Start the run based on its parameters
return 0, nil
}

0 comments on commit 2f49b8b

Please sign in to comment.