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

Unified Diff: common/retry/defaults.go

Issue 1610993002: LogDog: Add collector service implementation. (Closed) Base URL: https://github.com/luci/luci-go@master
Patch Set: Created 4 years, 11 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: common/retry/defaults.go
diff --git a/common/retry/defaults.go b/common/retry/defaults.go
index cd68fe1ede9bf934f22e3b448b2f38f524bc29c3..0e0c7afc63e34c8aa125e220d8ce032b24c55d03 100644
--- a/common/retry/defaults.go
+++ b/common/retry/defaults.go
@@ -19,7 +19,8 @@ var defaultIteratorTemplate = ExponentialBackoff{
Multiplier: 2,
}
-// Default returns a new instance of the default iterator configuration.
+// Default is a Generator that returns a new instance of the default iterator
+// configuration.
func Default() Iterator {
it := defaultIteratorTemplate
return &it

Powered by Google App Engine
This is Rietveld 408576698