about summary refs log tree commit diff
path: root/main.go
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-11-25T16·35+0100
committerFlorian Klink <flokli@flokli.de>2019-11-25T16·35+0100
commit40b2f11543ac78a68d01d4046fc4507da21f1ec9 (patch)
tree54975ac41af49a6f7124bf9cd48699d2dd8245fb /main.go
parentfecbf8b3e2efd4ba8c2e33159269000db2fbe1da (diff)
frontend: only pass runner to MakeFrontend, add Runner.GetSubmitQueue()
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
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)