Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2e committed Aug 15, 2024
1 parent 86a7321 commit bc89136
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions backend/controller/dal/testdata/go/fsm/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ require (
github.com/alecthomas/repr v0.4.0 // indirect
github.com/alecthomas/types v0.16.0 // indirect
github.com/alessio/shellescape v1.4.2 // indirect
github.com/amacneil/dbmate/v2 v2.19.0 // indirect
github.com/aws/aws-sdk-go-v2 v1.30.3 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.15 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.15 // indirect
Expand All @@ -42,6 +43,7 @@ require (
github.com/jackc/puddle/v2 v2.2.1 // indirect
github.com/jpillora/backoff v1.0.0 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/lib/pq v1.10.9 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/multiformats/go-base36 v0.2.0 // indirect
github.com/puzpuzpuz/xsync/v3 v3.4.0 // indirect
Expand Down
8 changes: 8 additions & 0 deletions backend/controller/dal/testdata/go/fsm/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion go-runtime/ftl/ftltest/fsm.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (f *fakeFSMManager) SendEvent(ctx context.Context, fsm string, instance str
return fmt.Errorf(`invalid event "%T" for state "%v"`, event, fsmInstance.state.Type().In(1))
}

callCtx := internal.ContextWithCallMetadata(ctx, map[string]string{
callCtx := internal.ContextWithCallMetadata(ctx, map[internal.MetadataKey]string{
"fsmName": fsm,
"fsmInstance": instance,
})
Expand Down

0 comments on commit bc89136

Please sign in to comment.