Skip to content

Commit 12aef62

Browse files
committed
Remove unused code
1 parent 8187ea8 commit 12aef62

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

registry/registry.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ import (
1111
)
1212

1313
type Registry struct {
14-
sealed bool
15-
1614
sync.Mutex
1715

1816
workflowMap map[string]any

tester/tester_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,6 @@ func workflowSubWorkFlowsAndSignals(ctx workflow.Context) (string, error) {
229229
return "finished without errors!", nil
230230
}
231231

232-
func workflowSum(_ workflow.Context, valA, valB int) (int, error) {
233-
return valA + valB, nil
234-
}
235-
236232
func Test_SignalSubWorkflow(t *testing.T) {
237233
tester := NewWorkflowTester[int](workflowSubworkflowSignal)
238234
require.NoError(t, tester.Registry().RegisterWorkflow(waitForSignal))

workflow/executor/executor.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ type executor struct {
7272
tracer trace.Tracer
7373
lastSequenceID int64
7474

75-
parentSpan trace.Span
7675
workflowSpan trace.Span
7776

7877
maxHistorySize int64

0 commit comments

Comments
 (0)