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

Unified Diff: common/config/util.go

Issue 1971493003: LogDog: Project READ access for user endpoints. (Closed) Base URL: https://github.com/luci/luci-go@logdog-project-service-config
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
« no previous file with comments | « appengine/logdog/coordinator/project.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common/config/util.go
diff --git a/common/config/util.go b/common/config/util.go
new file mode 100644
index 0000000000000000000000000000000000000000..a7ceb3079ec0ea2080b5b929ee4a7121fd68e933
--- /dev/null
+++ b/common/config/util.go
@@ -0,0 +1,14 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package config
+
+import (
+ "fmt"
+)
+
+// ProjectConfigSet returns the name of the ConfigSet associated with project.
+func ProjectConfigSet(project ProjectName) string {
+ return fmt.Sprintf("projects/%s", project)
+}
« no previous file with comments | « appengine/logdog/coordinator/project.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698