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

Unified Diff: logdog/common/storage/bigtable/logdog_bigtable_test/main.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 | « logdog/common/storage/bigtable/cache.go ('k') | logdog/common/storage/bigtable/storage.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: logdog/common/storage/bigtable/logdog_bigtable_test/main.go
diff --git a/logdog/common/storage/bigtable/logdog_bigtable_test/main.go b/logdog/common/storage/bigtable/logdog_bigtable_test/main.go
index 47471a096914af120eb572da26a91b24a5161bcf..51faffade8491676a4a5f9b4fe8e480da898be83 100644
--- a/logdog/common/storage/bigtable/logdog_bigtable_test/main.go
+++ b/logdog/common/storage/bigtable/logdog_bigtable_test/main.go
@@ -15,7 +15,6 @@ import (
"github.com/luci/luci-go/client/authcli"
"github.com/luci/luci-go/common/auth"
"github.com/luci/luci-go/common/cli"
- "github.com/luci/luci-go/common/config"
"github.com/luci/luci-go/common/errors"
log "github.com/luci/luci-go/common/logging"
"github.com/luci/luci-go/common/logging/gologger"
@@ -23,6 +22,7 @@ import (
"github.com/luci/luci-go/logdog/common/storage/bigtable"
"github.com/luci/luci-go/logdog/common/storage/memory"
"github.com/luci/luci-go/logdog/common/types"
+ "github.com/luci/luci-go/luci_config/common/cfgtypes"
"github.com/golang/protobuf/proto"
"github.com/maruel/subcommands"
@@ -222,7 +222,7 @@ func (cmd *cmdRunGet) Run(baseApp subcommands.Application, args []string, _ subc
var innerErr error
err = stClient.Get(storage.GetRequest{
- Project: config.ProjectName(cmd.project),
+ Project: cfgtypes.ProjectName(cmd.project),
Path: types.StreamPath(cmd.path),
Index: types.MessageIndex(cmd.index),
Limit: cmd.limit,
@@ -303,7 +303,7 @@ func (cmd *cmdRunTail) Run(baseApp subcommands.Application, args []string, _ sub
for round := 0; round < cmd.rounds; round++ {
log.Infof(c, "Tail round %d.", round+1)
- e, err := stClient.Tail(config.ProjectName(cmd.project), types.StreamPath(cmd.path))
+ e, err := stClient.Tail(cfgtypes.ProjectName(cmd.project), types.StreamPath(cmd.path))
if err != nil {
renderErr(c, errors.Annotate(err).Reason("failed to tail log entries").Err())
return 1
« no previous file with comments | « logdog/common/storage/bigtable/cache.go ('k') | logdog/common/storage/bigtable/storage.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698