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

Unified Diff: luci_config/server/cfgclient/backend/client/client.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
Index: luci_config/server/cfgclient/backend/client/client.go
diff --git a/luci_config/server/cfgclient/backend/client/client.go b/luci_config/server/cfgclient/backend/client/client.go
index 57969a7ec52fc9e97a20b51cc52051188e3ceb6f..c28cc3559aab4bf69c6d2e259ab19a19db7b2ad7 100644
--- a/luci_config/server/cfgclient/backend/client/client.go
+++ b/luci_config/server/cfgclient/backend/client/client.go
@@ -75,7 +75,7 @@ func (be *Backend) GetAll(c context.Context, t backend.GetAllTarget, path string
case backend.GetAllRef:
fn = svc.GetRefConfigs
default:
- return nil, errors.Reason("unknown GetAllType: %(type)q").D("type", t).Err()
+ return nil, errors.Reason("unknown GetAllType: %q", t).Err()
}
cfgs, err := fn(c, path, !p.Content)
« no previous file with comments | « luci_config/server/cfgclient/backend/caching/config.go ('k') | luci_config/server/cfgclient/backend/format/format.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698