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

Side by Side Diff: milo/build_source/buildbucket/html.go

Issue 2948143003: [milo] job_source -> build_source. (Closed)
Patch Set: fix tests Created 3 years, 6 months 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The LUCI Authors. All rights reserved. 1 // Copyright 2016 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0 2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file. 3 // that can be found in the LICENSE file.
4 4
5 package buildbucket 5 package buildbucket
6 6
7 import ( 7 import (
8 "errors" 8 "errors"
9 "net/http" 9 "net/http"
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 result, err := builderImpl(c.Context, query) 50 result, err := builderImpl(c.Context, query)
51 if err != nil { 51 if err != nil {
52 common.ErrorPage(c, http.StatusInternalServerError, err.Error()) 52 common.ErrorPage(c, http.StatusInternalServerError, err.Error())
53 return 53 return
54 } 54 }
55 55
56 templates.MustRender(c.Context, c.Writer, "pages/builder.html", template s.Args{ 56 templates.MustRender(c.Context, c.Writer, "pages/builder.html", template s.Args{
57 "Builder": result, 57 "Builder": result,
58 }) 58 })
59 } 59 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698