| Index: appengine/logdog/coordinator/backend/backend.go
|
| diff --git a/appengine/logdog/coordinator/backend/backend.go b/appengine/logdog/coordinator/backend/backend.go
|
| index ff1218ce63c04e513f4a650bbcf5bd16b2cd2e11..6f46661d57a657ac98836e84e3ceba8b57f055b7 100644
|
| --- a/appengine/logdog/coordinator/backend/backend.go
|
| +++ b/appengine/logdog/coordinator/backend/backend.go
|
| @@ -20,11 +20,11 @@ const (
|
| // Backend is the base struct for all Backend handlers. It is mostly used to
|
| // configure testing parameters.
|
| type Backend struct {
|
| + // The backing Coordinator service base.
|
| + coordinator.ServiceBase
|
| +
|
| // multiTaskBatchSize is the number of batch tasks to create at a time.
|
| multiTaskBatchSize int
|
| -
|
| - // s is the backing Coordinator service base.
|
| - s coordinator.Service
|
| }
|
|
|
| func (b *Backend) getMultiTaskBatchSize() int {
|
| @@ -36,7 +36,5 @@ func (b *Backend) getMultiTaskBatchSize() int {
|
|
|
| // InstallHandlers installs handlers for the Backend.
|
| func (b *Backend) InstallHandlers(r *httprouter.Router, h middleware.Base) {
|
| - r.GET("/archive/cron/terminal", h(gaemiddleware.RequireCron(b.HandleArchiveCron)))
|
| - r.GET("/archive/cron/nonterminal", h(gaemiddleware.RequireCron(b.HandleArchiveCronNT)))
|
| - r.GET("/archive/cron/purge", h(b.HandleArchiveCronPurge))
|
| + r.GET("/archive/cron", h(gaemiddleware.RequireCron(b.HandleArchiveCron)))
|
| }
|
|
|