bus: noop should still execute fn

This commit is contained in:
bergquist
2018-06-15 12:46:20 +02:00
parent a3ee778ddb
commit 03dae10e79
+1 -1
View File
@@ -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)
}