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

Unified Diff: deploytool/cmd/luci_deploy/param.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 | « deploytool/cmd/luci_deploy/manage.go ('k') | deploytool/cmd/luci_deploy/path.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: deploytool/cmd/luci_deploy/param.go
diff --git a/deploytool/cmd/luci_deploy/param.go b/deploytool/cmd/luci_deploy/param.go
index 42161228a786f4cfc313717f854f84de84e56931..e4e53e27f030b58479ba1c8ac5e140b6f00c40e7 100644
--- a/deploytool/cmd/luci_deploy/param.go
+++ b/deploytool/cmd/luci_deploy/param.go
@@ -40,7 +40,7 @@ func substitute(vp *string, subs map[string]string) error {
} else {
// panic to immediately stop matching. This will be caught at the top of
// this function.
- return errors.Reason("undefined parameter %(key)q").D("key", key).Err()
+ return errors.Reason("undefined parameter %q", key).Err()
}
}
« no previous file with comments | « deploytool/cmd/luci_deploy/manage.go ('k') | deploytool/cmd/luci_deploy/path.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698