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

Unified Diff: logdog/appengine/coordinator/coordinatorTest/logStream.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
Index: logdog/appengine/coordinator/coordinatorTest/logStream.go
diff --git a/logdog/appengine/coordinator/coordinatorTest/logStream.go b/logdog/appengine/coordinator/coordinatorTest/logStream.go
index b6a836a64600effd82909cb90d755e157bbc88c6..3d628798a484e08677e0849a0e90b38f224196c3 100644
--- a/logdog/appengine/coordinator/coordinatorTest/logStream.go
+++ b/logdog/appengine/coordinator/coordinatorTest/logStream.go
@@ -12,11 +12,11 @@ import (
"github.com/golang/protobuf/proto"
ds "github.com/luci/gae/service/datastore"
"github.com/luci/luci-go/common/clock"
- "github.com/luci/luci-go/common/config"
"github.com/luci/luci-go/common/proto/google"
"github.com/luci/luci-go/logdog/api/logpb"
"github.com/luci/luci-go/logdog/appengine/coordinator"
"github.com/luci/luci-go/logdog/common/types"
+ "github.com/luci/luci-go/luci_config/common/cfgtypes"
"golang.org/x/net/context"
)
@@ -28,7 +28,7 @@ func TestSecret() types.PrefixSecret {
// TestStream returns a testing stream.
type TestStream struct {
// Project is the project name for this stream.
- Project config.ProjectName
+ Project cfgtypes.ProjectName
// Path is the path of this stream.
Path types.StreamPath
@@ -44,7 +44,7 @@ type TestStream struct {
}
// MakeStream builds a new TestStream with the supplied parameters.
-func MakeStream(c context.Context, project config.ProjectName, path types.StreamPath) *TestStream {
+func MakeStream(c context.Context, project cfgtypes.ProjectName, path types.StreamPath) *TestStream {
prefix, name := path.Split()
now := clock.Now(c).UTC()
« no previous file with comments | « logdog/appengine/coordinator/coordinatorTest/context.go ('k') | logdog/appengine/coordinator/coordinatorTest/service.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698