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

Unified Diff: logdog/server/collector/coordinator/coordinator.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/server/collector/coordinator/cache_test.go ('k') | logdog/server/collector/utils_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: logdog/server/collector/coordinator/coordinator.go
diff --git a/logdog/server/collector/coordinator/coordinator.go b/logdog/server/collector/coordinator/coordinator.go
index e5a09429eb77aa40169c165b5841c1f7a20d8c51..893f7495012c89bb2607204390fea1ec00174b89 100644
--- a/logdog/server/collector/coordinator/coordinator.go
+++ b/logdog/server/collector/coordinator/coordinator.go
@@ -7,10 +7,10 @@ package coordinator
import (
"fmt"
- "github.com/luci/luci-go/common/config"
"github.com/luci/luci-go/common/errors"
"github.com/luci/luci-go/logdog/api/endpoints/coordinator/services/v1"
"github.com/luci/luci-go/logdog/common/types"
+ "github.com/luci/luci-go/luci_config/common/cfgtypes"
"golang.org/x/net/context"
)
@@ -31,7 +31,7 @@ type Coordinator interface {
// operate and update.
type LogStreamState struct {
// Project is the log stream project.
- Project config.ProjectName
+ Project cfgtypes.ProjectName
// Path is the log stream path.
Path types.StreamPath
@@ -57,8 +57,8 @@ type LogStreamState struct {
// TerminateRequest is a local representation of a Coordinator stream
// termination request.
type TerminateRequest struct {
- Project config.ProjectName // Project name.
- Path types.StreamPath // Stream path. Needed for cache lookup.
+ Project cfgtypes.ProjectName // Project name.
+ Path types.StreamPath // Stream path. Needed for cache lookup.
// ID is the stream's Coordinator ID, as indicated by the Coordinator.
ID string
« no previous file with comments | « logdog/server/collector/coordinator/cache_test.go ('k') | logdog/server/collector/utils_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698