Chore: Propagate context for plugin settings (#41166)

Ref #36734
This commit is contained in:
Marcus Efraimsson
2021-11-02 13:42:55 +01:00
committed by GitHub
parent 1a89d97fed
commit f6be78b5ae
10 changed files with 58 additions and 49 deletions
+1 -1
View File
@@ -70,5 +70,5 @@ func NewContextGetter(pluginContextProvider *plugincontext.Provider) *ContextGet
}
func (g *ContextGetter) GetPluginContext(user *models.SignedInUser, pluginID string, datasourceUID string, skipCache bool) (backend.PluginContext, bool, error) {
return g.PluginContextProvider.Get(pluginID, datasourceUID, user, skipCache)
return g.PluginContextProvider.Get(context.TODO(), pluginID, datasourceUID, user, skipCache)
}