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

Unified Diff: logdog/appengine/coordinator/endpoints/services/service.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/services/service.go
diff --git a/logdog/appengine/coordinator/endpoints/services/service.go b/logdog/appengine/coordinator/endpoints/services/service.go
index cbf8c01be6492d6cc17a11114f28355c3e62b563..956dab0e244053ae6e88e7f5ec890cfbca650af9 100644
--- a/logdog/appengine/coordinator/endpoints/services/service.go
+++ b/logdog/appengine/coordinator/endpoints/services/service.go
@@ -6,12 +6,12 @@ package services
import (
"github.com/golang/protobuf/proto"
- "github.com/luci/luci-go/common/config"
log "github.com/luci/luci-go/common/logging"
"github.com/luci/luci-go/grpc/grpcutil"
"github.com/luci/luci-go/logdog/api/endpoints/coordinator/services/v1"
"github.com/luci/luci-go/logdog/appengine/coordinator"
"github.com/luci/luci-go/logdog/appengine/coordinator/endpoints"
+ "github.com/luci/luci-go/luci_config/common/cfgtypes"
"golang.org/x/net/context"
)
@@ -41,7 +41,7 @@ func New() logdog.ServicesServer {
//
// We use a type switch here because this is a shared decorator.
if pbm, ok := req.(endpoints.ProjectBoundMessage); ok {
- project := config.ProjectName(pbm.GetMessageProject())
+ project := cfgtypes.ProjectName(pbm.GetMessageProject())
log.Fields{
"project": project,
}.Debugf(c, "Request is entering project namespace.")

Powered by Google App Engine
This is Rietveld 408576698