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

Unified Diff: logdog/appengine/coordinator/context.go

Issue 2575383002: Add server/cache support to gaeconfig. (Closed)
Patch Set: Un-collapse. 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/appengine/coordinator/config/projects.go ('k') | logdog/appengine/coordinator/context_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: logdog/appengine/coordinator/context.go
diff --git a/logdog/appengine/coordinator/context.go b/logdog/appengine/coordinator/context.go
index 6b91c1444a6bdd4c157305feb4c1d82a74e86df2..715d6fbfdc4beb2b9929b2728eceee46e711d8df 100644
--- a/logdog/appengine/coordinator/context.go
+++ b/logdog/appengine/coordinator/context.go
@@ -8,12 +8,12 @@ import (
"fmt"
"github.com/luci/gae/service/info"
- luciConfig "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/config/svcconfig"
"github.com/luci/luci-go/logdog/appengine/coordinator/config"
"github.com/luci/luci-go/luci_config/common/cfgtypes"
+ "github.com/luci/luci-go/luci_config/server/cfgclient"
"github.com/luci/luci-go/server/auth"
"github.com/luci/luci-go/server/auth/identity"
@@ -106,7 +106,7 @@ func WithProjectNamespace(c *context.Context, project cfgtypes.ProjectName, at N
// Successfully loaded project config.
return pcfg, nil
- case luciConfig.ErrNoConfig, config.ErrInvalidConfig:
+ case cfgclient.ErrNoConfig, config.ErrInvalidConfig:
// If the configuration request was valid, but no configuration could be
// loaded, treat this as the user not having READ access to the project.
// Otherwise, the user could use this error response to confirm a
« no previous file with comments | « logdog/appengine/coordinator/config/projects.go ('k') | logdog/appengine/coordinator/context_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698