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

Unified Diff: appengine/logdog/coordinator/endpoints/services/service.go

Issue 1970823005: LogDog: Add prefix registration endpoint. (Closed) Base URL: https://github.com/luci/luci-go@logdog-project-archivist-useconfig
Patch Set: Updated patchset dependency Created 4 years, 7 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: appengine/logdog/coordinator/endpoints/services/service.go
diff --git a/appengine/logdog/coordinator/endpoints/services/service.go b/appengine/logdog/coordinator/endpoints/services/service.go
index 1b155da3a892cbc0d96329c33124355ec267e65a..1af79a73478ca243544f538b5d07a7c78e3a2ffd 100644
--- a/appengine/logdog/coordinator/endpoints/services/service.go
+++ b/appengine/logdog/coordinator/endpoints/services/service.go
@@ -15,7 +15,7 @@ import (
"golang.org/x/net/context"
)
-// server is a Cloud Endpoint service supporting privileged support services.
+// server is a service supporting privileged support services.
//
// This endpoint is restricted to LogDog support service accounts.
type server struct{}
@@ -45,7 +45,7 @@ func New() logdog.ServicesServer {
log.Fields{
"project": project,
}.Debugf(c, "Request is entering project namespace.")
- if err := coordinator.WithProjectNamespaceNoAuth(&c, project); err != nil {
+ if err := coordinator.WithProjectNamespace(&c, project, coordinator.NamespaceAccessNoAuth); err != nil {
return nil, grpcutil.Internal
}
}
« no previous file with comments | « appengine/logdog/coordinator/endpoints/registration/service.go ('k') | appengine/logdog/coordinator/hierarchy/hierarchy.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698