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

Unified Diff: milo/appengine/logdog/http.go

Issue 2626433004: Move "common/config" common types into cfgtypes. (Closed)
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « milo/appengine/logdog/build.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/appengine/logdog/http.go
diff --git a/milo/appengine/logdog/http.go b/milo/appengine/logdog/http.go
index 244bfb32fa0320fb096dafaedcdc9ab79ca56bab..491b4c2b418294367d85a764df293de12dc15ed3 100644
--- a/milo/appengine/logdog/http.go
+++ b/milo/appengine/logdog/http.go
@@ -9,11 +9,11 @@ import (
"strings"
"github.com/julienschmidt/httprouter"
- "github.com/luci/luci-go/common/config"
log "github.com/luci/luci-go/common/logging"
"github.com/luci/luci-go/grpc/prpc"
"github.com/luci/luci-go/logdog/client/coordinator"
"github.com/luci/luci-go/logdog/common/types"
+ "github.com/luci/luci-go/luci_config/common/cfgtypes"
"github.com/luci/luci-go/milo/appengine/settings"
"github.com/luci/luci-go/milo/common/miloerror"
"github.com/luci/luci-go/server/auth"
@@ -51,7 +51,7 @@ func (s *AnnotationStream) Render(c context.Context, req *http.Request, p httpro
as := annotationStreamRequest{
AnnotationStream: s,
- project: config.ProjectName(p.ByName("project")),
+ project: cfgtypes.ProjectName(p.ByName("project")),
path: types.StreamPath(strings.Trim(p.ByName("path"), "/")),
host: req.FormValue("host"),
}
« no previous file with comments | « milo/appengine/logdog/build.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698