From 03dae10e796cb8f412c386861e634d76555fba18 Mon Sep 17 00:00:00 2001 From: bergquist Date: Thu, 14 Jun 2018 09:59:52 +0200 Subject: [PATCH] bus: noop should still execute fn --- pkg/bus/bus.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/bus/bus.go b/pkg/bus/bus.go index 9cd3f116172..9cf930aeb82 100644 --- a/pkg/bus/bus.go +++ b/pkg/bus/bus.go @@ -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) }