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

Unified Diff: logdog/appengine/coordinator/endpoints/registration/registerPrefix_test.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/endpoints/registration/registerPrefix_test.go
diff --git a/logdog/appengine/coordinator/endpoints/registration/registerPrefix_test.go b/logdog/appengine/coordinator/endpoints/registration/registerPrefix_test.go
index 5de9946127ddb2b7ea26f5c9d1e6d7ec92141261..97ad7892d423ee51ab11f488431e7fc17826eef7 100644
--- a/logdog/appengine/coordinator/endpoints/registration/registerPrefix_test.go
+++ b/logdog/appengine/coordinator/endpoints/registration/registerPrefix_test.go
@@ -12,7 +12,6 @@ import (
"github.com/luci/gae/filter/featureBreaker"
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/data/rand/cryptorand"
"github.com/luci/luci-go/common/proto/google"
"github.com/luci/luci-go/logdog/api/config/svcconfig"
@@ -21,6 +20,7 @@ import (
ct "github.com/luci/luci-go/logdog/appengine/coordinator/coordinatorTest"
"github.com/luci/luci-go/logdog/appengine/coordinator/hierarchy"
"github.com/luci/luci-go/logdog/common/types"
+ "github.com/luci/luci-go/luci_config/common/cfgtypes"
"golang.org/x/net/context"
@@ -46,7 +46,7 @@ func TestRegisterPrefix(t *testing.T) {
svr := New()
- const project = config.ProjectName("proj-foo")
+ const project = cfgtypes.ProjectName("proj-foo")
req := logdog.RegisterPrefixRequest{
Project: string(project),
Prefix: "testing/prefix",
« no previous file with comments | « logdog/appengine/coordinator/endpoints/logs/service.go ('k') | logdog/appengine/coordinator/endpoints/registration/service.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698