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

Unified Diff: logdog/appengine/coordinator/config/projects.go

Issue 2644853005: Update project/service config references. (Closed)
Patch Set: Update project/service config references. 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/config/projects.go
diff --git a/logdog/appengine/coordinator/config/projects.go b/logdog/appengine/coordinator/config/projects.go
index 8ea5bf1f3898687d7abd94203b5f8fd472811a79..712634c8d714801b48176d3df77dfd9d1af58a1d 100644
--- a/logdog/appengine/coordinator/config/projects.go
+++ b/logdog/appengine/coordinator/config/projects.go
@@ -5,7 +5,6 @@
package config
import (
- "fmt"
"sort"
log "github.com/luci/luci-go/common/logging"
@@ -22,7 +21,7 @@ import (
//
// A given project's configuration is named after the current App ID.
func ProjectConfigPath(c context.Context) string {
- return fmt.Sprintf("%s.cfg", cfgclient.CurrentServiceName(c))
+ return svcconfig.ProjectConfigPath(cfgclient.CurrentServiceName(c))
}
// ProjectConfig loads the project config protobuf from the config service.
« no previous file with comments | « logdog/appengine/coordinator/config/config.go ('k') | logdog/appengine/coordinator/endpoints/services/getConfig_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698