Commit 03dae10e by bergquist

bus: noop should still execute fn

parent a3ee778d
......@@ -220,5 +220,5 @@ func ClearBusHandlers() {
type noopTransactionManager struct{}
func (*noopTransactionManager) InTransaction(ctx context.Context, fn func(ctx context.Context) error) error {
return nil
return fn(ctx)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment