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

Unified Diff: milo/appengine/logdog/build.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 | « luci_config/common/cfgtypes/project_name_test.go ('k') | milo/appengine/logdog/http.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/appengine/logdog/build.go
diff --git a/milo/appengine/logdog/build.go b/milo/appengine/logdog/build.go
index 9a420cae11135331f381e7327e6537dc30167e0b..753a86a4910452bbcb44a9d057cc0a9a2d74b219 100644
--- a/milo/appengine/logdog/build.go
+++ b/milo/appengine/logdog/build.go
@@ -12,7 +12,6 @@ import (
"strings"
"time"
- "github.com/luci/luci-go/common/config"
log "github.com/luci/luci-go/common/logging"
"github.com/luci/luci-go/common/proto/google"
miloProto "github.com/luci/luci-go/common/proto/milo"
@@ -20,6 +19,7 @@ import (
"github.com/luci/luci-go/logdog/api/logpb"
"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/api/resp"
"github.com/luci/luci-go/milo/appengine/logdog/internal"
"github.com/luci/luci-go/milo/common/miloerror"
@@ -47,7 +47,7 @@ type annotationStreamRequest struct {
// host is the name of the LogDog host.
host string
- project config.ProjectName
+ project cfgtypes.ProjectName
path types.StreamPath
// logDogClient is the HTTP client to use for LogDog communication.
@@ -279,7 +279,7 @@ func (as *annotationStreamRequest) toMiloBuild(c context.Context) *resp.MiloBuil
type logDogURLBuilder struct {
host string
prefix types.StreamName
- project config.ProjectName
+ project cfgtypes.ProjectName
}
func (b *logDogURLBuilder) BuildLink(l *miloProto.Link) *resp.Link {
« no previous file with comments | « luci_config/common/cfgtypes/project_name_test.go ('k') | milo/appengine/logdog/http.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698