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

Unified Diff: logdog/server/service/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
« no previous file with comments | « logdog/server/service/config/config.go ('k') | luci_config/common/cfgtypes/config_set.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: logdog/server/service/service.go
diff --git a/logdog/server/service/service.go b/logdog/server/service/service.go
index b88781a93b1d8f9538fc6455a9e5ad3ccb5ea168..42c57dda01899930bb6b25fa0773c6dc17785ed2 100644
--- a/logdog/server/service/service.go
+++ b/logdog/server/service/service.go
@@ -18,7 +18,6 @@ import (
"github.com/luci/luci-go/client/authcli"
"github.com/luci/luci-go/common/auth"
- luciConfig "github.com/luci/luci-go/common/config"
"github.com/luci/luci-go/common/data/caching/proccache"
"github.com/luci/luci-go/common/gcloud/gs"
log "github.com/luci/luci-go/common/logging"
@@ -32,6 +31,7 @@ import (
"github.com/luci/luci-go/logdog/common/storage/bigtable"
"github.com/luci/luci-go/logdog/server/retryServicesClient"
"github.com/luci/luci-go/logdog/server/service/config"
+ "github.com/luci/luci-go/luci_config/common/cfgtypes"
"cloud.google.com/go/compute/metadata"
"golang.org/x/net/context"
@@ -347,7 +347,7 @@ func (s *Service) Config() *svcconfig.Config {
// ProjectConfig returns the cached project configuration.
//
// If the project configuration is not available, nil will be returned.
-func (s *Service) ProjectConfig(c context.Context, proj luciConfig.ProjectName) (*svcconfig.ProjectConfig, error) {
+func (s *Service) ProjectConfig(c context.Context, proj cfgtypes.ProjectName) (*svcconfig.ProjectConfig, error) {
return s.config.ProjectConfig(c, proj)
}
« no previous file with comments | « logdog/server/service/config/config.go ('k') | luci_config/common/cfgtypes/config_set.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698