mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Rename AddEventListenerCtx to AddEventListener and PublishCtx to Publish (#43566)
This commit is contained in:
@@ -68,7 +68,7 @@ func inTransactionWithRetryCtx(ctx context.Context, engine *xorm.Engine, callbac
|
||||
|
||||
if len(sess.events) > 0 {
|
||||
for _, e := range sess.events {
|
||||
if err = bus.PublishCtx(ctx, e); err != nil {
|
||||
if err = bus.Publish(ctx, e); err != nil {
|
||||
tsclogger.Error("Failed to publish event after commit.", "error", err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user