Chore: Propagate context for plugin settings (#41166)

Ref #36734
This commit is contained in:
Marcus Efraimsson authored and GitHub committed 2021-11-02 13:42:55 +01:00
1 parent 1a89d97fed
commit f6be78b5ae
10 files changed
+58 -49

No files matched your search

+1 -1
View File
@@ -164,7 +164,7 @@ func TestPluginProxy(t *testing.T) {
Method: "GET",
}
bus.AddHandler("test", func(query *models.GetPluginSettingByIdQuery) error {
bus.AddHandlerCtx("test", func(_ context.Context, query *models.GetPluginSettingByIdQuery) error {
query.Result = &models.PluginSetting{}
return nil
})