Live: crud for remote write backends (#40147)

This commit is contained in:
Alexander Emelin
2021-11-05 12:13:40 +03:00
committed by GitHub
parent ec63b28621
commit 345f0b658d
8 changed files with 493 additions and 97 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ type testState struct {
func newTestLive(t *testing.T) *live.GrafanaLive {
cfg := &setting.Cfg{AppURL: "http://localhost:3000/"}
gLive, err := live.ProvideService(nil, cfg, routing.NewRouteRegister(), nil, nil, nil, nil, sqlstore.InitTestDB(t), &usagestats.UsageStatsMock{T: t})
gLive, err := live.ProvideService(nil, cfg, routing.NewRouteRegister(), nil, nil, nil, nil, sqlstore.InitTestDB(t), nil, &usagestats.UsageStatsMock{T: t})
require.NoError(t, err)
return gLive
}