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

Unified Diff: client/cmd/cipd/main.go

Issue 1870263002: cipd: instance cache (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: cipd: instance cache Created 4 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: client/cmd/cipd/main.go
diff --git a/client/cmd/cipd/main.go b/client/cmd/cipd/main.go
index 94d63001d897c5a63973e8d61e6e92340c72182a..47e15cc424cabf9ce2fbb3390ce5e7d80fecf49c 100644
--- a/client/cmd/cipd/main.go
+++ b/client/cmd/cipd/main.go
@@ -13,6 +13,7 @@ import (
"flag"
"fmt"
"io/ioutil"
+ "math/rand"
"net/http"
"os"
"path/filepath"
@@ -1671,5 +1672,6 @@ func fixFlagsPosition(args []string) []string {
}
func main() {
+ rand.Seed(time.Now().Unix())
Vadim Sh. 2016/04/11 16:52:03 I was bit in the ass by this construct. Multiple p
nodir 2016/04/11 22:16:16 Done.
os.Exit(subcommands.Run(application, fixFlagsPosition(os.Args[1:])))
}

Powered by Google App Engine
This is Rietveld 408576698