Skip to content

Commit

Permalink
remove unused reference to sdk.WorkflowSpec in the core's workflow (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
nolag authored Oct 24, 2024
1 parent 00912cd commit 77176d0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/services/workflows/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ type workflow struct {
graph.Graph[string, *step]

triggers []*triggerCapability

spec *sdk.WorkflowSpec
}

func (w *workflow) walkDo(start string, do func(s *step) error) error {
Expand Down Expand Up @@ -110,7 +108,6 @@ func createWorkflow(wf2 *workflows.DependencyGraph) (*workflow, error) {
out := &workflow{
id: wf2.ID,
triggers: []*triggerCapability{},
spec: wf2.Spec,
}

for _, t := range wf2.Triggers {
Expand Down

0 comments on commit 77176d0

Please sign in to comment.