mirror of
https://github.com/grafana/grafana.git
synced 2026-08-12 06:05:02 -05:00
Rename AddHandlerCtx to AddHandler (#43557)
This commit is contained in:
@@ -38,7 +38,7 @@ func TestService(t *testing.T) {
|
||||
secretsService: secretsService,
|
||||
}
|
||||
|
||||
bus.AddHandlerCtx("test", func(_ context.Context, query *models.GetDataSourceQuery) error {
|
||||
bus.AddHandler("test", func(_ context.Context, query *models.GetDataSourceQuery) error {
|
||||
query.Result = &models.DataSource{Uid: "1", OrgId: 1, Type: "test", JsonData: simplejson.New()}
|
||||
return nil
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user