mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
bus: noop should still execute fn
This commit is contained in:
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user