Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(623)

Unified Diff: logdog/appengine/cmd/coordinator/vmuser/main.go

Issue 2591443002: Use classic GAE for coordinator default frontend. (Closed)
Patch Set: Rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « logdog/appengine/cmd/coordinator/vmuser/doc.go ('k') | logdog/appengine/cmd/coordinator/vmuser/module.cfg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: logdog/appengine/cmd/coordinator/vmuser/main.go
diff --git a/logdog/appengine/cmd/coordinator/vmuser/main.go b/logdog/appengine/cmd/coordinator/vmuser/main.go
index 560c7f34af2d33daeafeecc28047a31aada98fa9..6ca09cb59928e6ddd05f96e07b0b6a22a197878a 100644
--- a/logdog/appengine/cmd/coordinator/vmuser/main.go
+++ b/logdog/appengine/cmd/coordinator/vmuser/main.go
@@ -2,7 +2,7 @@
// Use of this source code is governed under the Apache License, Version 2.0
// that can be found in the LICENSE file.
-package main
+package module
import (
"net/http"
@@ -27,7 +27,6 @@ import (
"github.com/luci/luci-go/server/router"
"golang.org/x/net/context"
- "google.golang.org/appengine"
// Include mutations package so its Mutations will register with tumble via
// init().
@@ -35,7 +34,7 @@ import (
)
// Run installs and executes this site.
-func main() {
+func init() {
r := router.New()
// Setup Cloud Endpoints.
@@ -59,7 +58,6 @@ func main() {
})
http.Handle("/", r)
- appengine.Main()
}
func accessControl(c context.Context, origin string) bool {
« no previous file with comments | « logdog/appengine/cmd/coordinator/vmuser/doc.go ('k') | logdog/appengine/cmd/coordinator/vmuser/module.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698