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

Unified Diff: milo/appengine/common/funcs.go

Issue 2718373004: Milo: Print raw json for buildbot build properties (Closed)
Patch Set: Add in empty strings Created 3 years, 8 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: milo/appengine/common/funcs.go
diff --git a/milo/appengine/common/funcs.go b/milo/appengine/common/funcs.go
index 041ce8f9d8256473415616f5a8fc5b55eec41cb1..aedbfe62f6666b6586ed9de62dd2f96e175d2ad5 100644
--- a/milo/appengine/common/funcs.go
+++ b/milo/appengine/common/funcs.go
@@ -134,8 +134,8 @@ func humanDuration(d time.Duration) string {
return "0"
}
-// obfuscateEmail converts an email@address.com into email<junk>@address.com
-// if it is an email.
+// obfuscateEmail converts a string containing email adddress email@address.com
+// into email<junk>@address.com.
func obfuscateEmail(email string) template.HTML {
email = template.HTMLEscapeString(email)
return template.HTML(strings.Replace(

Powered by Google App Engine
This is Rietveld 408576698