Rename DispatchCtx to Dispatch (#43563)

This commit is contained in:
idafurjes
2021-12-28 17:36:22 +01:00
committed by GitHub
parent 7936c4c522
commit 8e6d6af744
107 changed files with 291 additions and 291 deletions
+2 -2
View File
@@ -52,7 +52,7 @@ func (ss *SQLStore) DeleteAlertNotificationWithUid(ctx context.Context, cmd *mod
Id: existingNotification.Result.Id,
OrgId: existingNotification.Result.OrgId,
}
if err := bus.DispatchCtx(ctx, deleteCommand); err != nil {
if err := bus.Dispatch(ctx, deleteCommand); err != nil {
return err
}
@@ -454,7 +454,7 @@ func (ss *SQLStore) UpdateAlertNotificationWithUid(ctx context.Context, cmd *mod
OrgId: cmd.OrgId,
}
if err := bus.DispatchCtx(ctx, updateNotification); err != nil {
if err := bus.Dispatch(ctx, updateNotification); err != nil {
return err
}