Chromium Code Reviews| Index: milo/appengine/logdog/http.go |
| diff --git a/milo/appengine/logdog/http.go b/milo/appengine/logdog/http.go |
| index 7298487649a6087b76d060bb4c460ddb03fc0620..f490e1cc280a4fb2950d66d3d59cf58422acedb4 100644 |
| --- a/milo/appengine/logdog/http.go |
| +++ b/milo/appengine/logdog/http.go |
| @@ -41,7 +41,7 @@ func (s *AnnotationStream) GetTemplateName(t settings.Theme) string { |
| func (s *AnnotationStream) Render(c context.Context, req *http.Request, p httprouter.Params) (*templates.Args, error) { |
| // Initialize the LogDog client authentication. |
| // TODO(vadimsh): Use auth.AsUser. |
|
Vadim Sh.
2016/09/28 19:42:20
remove the TODO
dnj
2016/09/28 20:12:52
lol didn't even see that.
|
| - t, err := auth.GetRPCTransport(c, auth.AsSelf) |
| + t, err := auth.GetRPCTransport(c, auth.AsUser) |
| if err != nil { |
| log.WithError(err).Errorf(c, "Failed to get transport for LogDog server.") |
| return nil, &miloerror.Error{ |