diff options
author | Florian Klink <flokli@flokli.de> | 2019-11-25T16·35+0100 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2019-11-25T16·35+0100 |
commit | 40b2f11543ac78a68d01d4046fc4507da21f1ec9 (patch) | |
tree | 54975ac41af49a6f7124bf9cd48699d2dd8245fb /main.go | |
parent | fecbf8b3e2efd4ba8c2e33159269000db2fbe1da (diff) |
frontend: only pass runner to MakeFrontend, add Runner.GetSubmitQueue()
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go index de56d9072c82..14320276377f 100644 --- a/main.go +++ b/main.go @@ -91,7 +91,7 @@ func main() { submitQueue := submitqueue.MakeSubmitQueue(gerritClient, projectName, branchName, submitQueueTag) runner := submitqueue.NewRunner(submitQueue) - handler := frontend.MakeFrontend(runner, submitQueue) + handler := frontend.MakeFrontend(runner) // fetch only on first run runner.Trigger(true) |