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

Unified Diff: luci_config/server/cfgclient/resolver.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 | « luci_config/server/cfgclient/backend/get_all.go ('k') | luci_config/server/cfgclient/textproto/resolver.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: luci_config/server/cfgclient/resolver.go
diff --git a/luci_config/server/cfgclient/resolver.go b/luci_config/server/cfgclient/resolver.go
index 657f5903a1e70ad8fe02031a536197422414c79f..248fa14a7bd212a71d9a26dfecb9732c10ac5e0a 100644
--- a/luci_config/server/cfgclient/resolver.go
+++ b/luci_config/server/cfgclient/resolver.go
@@ -50,7 +50,7 @@ type FormattingResolver interface {
func assertEmptyFormat(it *backend.Item) error {
if !it.FormatSpec.Unformatted() {
- return errors.Reason("unknown format: %(format)q").D("format", it.FormatSpec.Formatter).Err()
+ return errors.Reason("unknown format: %q", it.FormatSpec.Formatter).Err()
}
return nil
}
« no previous file with comments | « luci_config/server/cfgclient/backend/get_all.go ('k') | luci_config/server/cfgclient/textproto/resolver.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698