mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
bus: noop should still execute fn
This commit is contained in:
parent
a3ee778ddb
commit
03dae10e79
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user