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

Unified Diff: deploytool/api/deploy/util.go

Issue 2963503003: [errors] Greatly simplify common/errors package. (Closed)
Patch Set: all tests passing 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: deploytool/api/deploy/util.go
diff --git a/deploytool/api/deploy/util.go b/deploytool/api/deploy/util.go
index af98054ec1830287d3d64f47ecab4607cfe9567d..403b676e4339a965f590d04b40912cf1da8f56cb 100644
--- a/deploytool/api/deploy/util.go
+++ b/deploytool/api/deploy/util.go
@@ -156,7 +156,7 @@ func IndexDirectionFromAppYAMLString(v string) (AppEngineResources_Index_Directi
return AppEngineResources_Index_DESCENDING, nil
default:
- return 0, errors.Reason("invalid index direction %(value)q").D("value", v).Err()
+ return 0, errors.Reason("invalid index direction %q", v).Err()
}
}

Powered by Google App Engine
This is Rietveld 408576698