internal/frontend: fix build error with middleware.NewExperimenter
The signature of middleware.NewExperimenter was changed in CL 240942.
This change was applied to internal/frontend/server_test.go in CL 240939,
which is not yet merged. The change should have been done in
CL 240942.
@@ -977,7 +977,7 @@ func newTestServer(t *testing.T, proxyModules []*proxy.TestModule, experimentNam
exps = append(exps, &internal.Experiment{Name: n, Rollout: 100})
}
esrc := internal.NewLocalExperimentSource(exps)
- exp, err := middleware.NewExperimenter(ctx, time.Hour, esrc, nil)
+ exp, err := middleware.NewExperimenter(ctx, time.Hour, esrc)
if err != nil {
t.Fatal(err)
}
