| Index: appengine/logdog/coordinator/service.go
|
| diff --git a/appengine/logdog/coordinator/service.go b/appengine/logdog/coordinator/service.go
|
| index fad11a4e4da0f3f3c3b6936a53b6ac6b9e122745..6481100d5171085b2c0e1b685b7b42111bb1c199 100644
|
| --- a/appengine/logdog/coordinator/service.go
|
| +++ b/appengine/logdog/coordinator/service.go
|
| @@ -59,11 +59,17 @@ type Services interface {
|
| // instance into its Context.
|
| func WithProdServices(h middleware.Handler) middleware.Handler {
|
| return func(c context.Context, rw http.ResponseWriter, r *http.Request, params httprouter.Params) {
|
| - c = WithServices(c, &prodServices{})
|
| + c = UseProdServices(c)
|
| h(c, rw, r, params)
|
| }
|
| }
|
|
|
| +// UseProdServices installs production Services instance into the supplied
|
| +// Context.
|
| +func UseProdServices(c context.Context) context.Context {
|
| + return WithServices(c, &prodServices{})
|
| +}
|
| +
|
| // Request is a Service context for a given request.
|
| type prodServices struct {
|
| sync.Mutex
|
|
|