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

Unified Diff: logdog/client/coordinator/stream.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/client/coordinator/query_test.go ('k') | logdog/common/storage/archive/storage.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: logdog/client/coordinator/stream.go
diff --git a/logdog/client/coordinator/stream.go b/logdog/client/coordinator/stream.go
index 7b7e927eca50878adc8353c91a070b147c67121b..34fea1929c016c2c9b87dc2d471cc7493015abce 100644
--- a/logdog/client/coordinator/stream.go
+++ b/logdog/client/coordinator/stream.go
@@ -9,10 +9,10 @@ import (
"fmt"
"time"
- "github.com/luci/luci-go/common/config"
"github.com/luci/luci-go/logdog/api/endpoints/coordinator/logs/v1"
"github.com/luci/luci-go/logdog/api/logpb"
"github.com/luci/luci-go/logdog/common/types"
+ "github.com/luci/luci-go/luci_config/common/cfgtypes"
"golang.org/x/net/context"
)
@@ -54,7 +54,7 @@ type StreamState struct {
// LogStream is returned metadata about a log stream.
type LogStream struct {
// Project is the log stream's project.
- Project config.ProjectName
+ Project cfgtypes.ProjectName
// Path is the path of the log stream.
Path types.StreamPath
@@ -75,7 +75,7 @@ func loadLogStream(proj string, path types.StreamPath, s *logdog.LogStreamState,
}
ls := LogStream{
- Project: config.ProjectName(proj),
+ Project: cfgtypes.ProjectName(proj),
Path: path,
Desc: *d,
State: StreamState{
@@ -100,7 +100,7 @@ type Stream struct {
c *Client
// project is this stream's project.
- project config.ProjectName
+ project cfgtypes.ProjectName
// path is the log stream's prefix.
path types.StreamPath
}
« no previous file with comments | « logdog/client/coordinator/query_test.go ('k') | logdog/common/storage/archive/storage.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698