Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdoherty4 committed Apr 11, 2023
1 parent 133a1d5 commit bd143db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion internal/agent/event/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type Event interface {
isEventFromThisPackage()
}

// Recorder records events generated from running a Workflow.
// Recorder provides event recording methods.
type Recorder interface {
RecordEvent(context.Context, Event)
}
2 changes: 0 additions & 2 deletions internal/agent/workflow/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,5 @@ type Handler interface {
// HandleWorkflow begins executing the given workflow. The event recorder can be used to
// indicate the progress of a workflow. If the given context becomes cancelled, the workflow
// handler should stop workflow execution.
//
// HandleWorkflow should not return errors for
HandleWorkflow(context.Context, Workflow, event.Recorder) error
}

0 comments on commit bd143db

Please sign in to comment.