From 77176d0a9b058a8bcb0c30858abf926b89323c2f Mon Sep 17 00:00:00 2001 From: Ryan Tinianov Date: Thu, 24 Oct 2024 07:42:43 -0400 Subject: [PATCH] remove unused reference to sdk.WorkflowSpec in the core's workflow (#14923) --- core/services/workflows/models.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/services/workflows/models.go b/core/services/workflows/models.go index f6adb737264..0faf66d9883 100644 --- a/core/services/workflows/models.go +++ b/core/services/workflows/models.go @@ -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 { @@ -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 {