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

Unified Diff: milo/appengine/job_source/buildbot/buildinfo.go

Issue 2944983003: [milo] {buildbucket,buildbot,swarming,logdog} -> backends/*. (Closed)
Patch Set: fix the 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 side-by-side diff with in-line comments
Download patch
Index: milo/appengine/job_source/buildbot/buildinfo.go
diff --git a/milo/appengine/buildbot/buildinfo.go b/milo/appengine/job_source/buildbot/buildinfo.go
similarity index 98%
rename from milo/appengine/buildbot/buildinfo.go
rename to milo/appengine/job_source/buildbot/buildinfo.go
index 84d404ae01b2e03523e734ed7321fd0bd9185374..018e5b9f9a8ef02b27215c0492161eb7df1d3a38 100644
--- a/milo/appengine/buildbot/buildinfo.go
+++ b/milo/appengine/job_source/buildbot/buildinfo.go
@@ -18,7 +18,7 @@ import (
"github.com/luci/luci-go/logdog/common/types"
"github.com/luci/luci-go/luci_config/common/cfgtypes"
milo "github.com/luci/luci-go/milo/api/proto"
- "github.com/luci/luci-go/milo/appengine/logdog"
+ "github.com/luci/luci-go/milo/appengine/job_source/raw_presentation"
"google.golang.org/grpc/codes"
@@ -41,7 +41,7 @@ func (p *BuildInfoProvider) newLogdogClient(c context.Context) (*coordinator.Cli
if p.LogdogClientFunc != nil {
return p.LogdogClientFunc(c)
}
- return logdog.NewClient(c, "")
+ return raw_presentation.NewClient(c, "")
}
// GetBuildInfo resolves a Milo protobuf Step for a given BuildBot build.
@@ -92,7 +92,7 @@ func (p *BuildInfoProvider) GetBuildInfo(c context.Context, req *milo.BuildInfoR
logging.Infof(c, "Resolved annotation stream: %s / %s", addr.Project, addr.Path)
// Load the annotation protobuf.
- as := logdog.AnnotationStream{
+ as := raw_presentation.AnnotationStream{
Client: client,
Path: addr.Path,
Project: addr.Project,
« no previous file with comments | « milo/appengine/job_source/buildbot/builder_test.go ('k') | milo/appengine/job_source/buildbot/buildinfo_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698