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

Unified Diff: common/config/impl/filesystem/paths.go

Issue 2963503003: [errors] Greatly simplify common/errors package. (Closed)
Patch Set: fix nits Created 3 years, 6 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 | « common/config/impl/filesystem/fs.go ('k') | common/config/validation/validation.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common/config/impl/filesystem/paths.go
diff --git a/common/config/impl/filesystem/paths.go b/common/config/impl/filesystem/paths.go
index 78fe6eeb88dd39928b0897e17e1c333757249ef8..745e8bce22bee2f307e9b7cdff5f7ae69fdaa074 100644
--- a/common/config/impl/filesystem/paths.go
+++ b/common/config/impl/filesystem/paths.go
@@ -57,7 +57,7 @@ func (c configSet) id() string {
func (c configSet) validate() error {
if !c.hasPrefix("projects/") && !c.hasPrefix("services/") {
- return errors.Reason("configSet.validate: bad prefix %(cs)q").D("cs", c.s()).Err()
+ return errors.Reason("configSet.validate: bad prefix %q", c.s()).Err()
}
return nil
}
« no previous file with comments | « common/config/impl/filesystem/fs.go ('k') | common/config/validation/validation.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698