mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Add context to datasource service (#42294)
* Add context to datasource service * Adjust wire for ShouldBeReported method * Replace inTransactionCtx
This commit is contained in:
@@ -51,7 +51,7 @@ func (noOpUsageStats) RegisterMetricsFunc(_ usagestats.MetricsFunc) {}
|
||||
|
||||
func (noOpUsageStats) RegisterSendReportCallback(_ usagestats.SendReportCallbackFunc) {}
|
||||
|
||||
func (noOpUsageStats) ShouldBeReported(string) bool { return false }
|
||||
func (noOpUsageStats) ShouldBeReported(context.Context, string) bool { return false }
|
||||
|
||||
type noOpRouteRegister struct{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user