fix: s3 gateway DNS cache initialization (#10706)

fixes #10705
This commit is contained in:
Harshavardhana
2020-10-19 01:34:23 -07:00
committed by GitHub
parent ba5215561f
commit c107728676
4 changed files with 5 additions and 10 deletions

View File

@@ -33,7 +33,6 @@ var dsyncLog bool
func init() {
// Check for MINIO_DSYNC_TRACE env variable, if set logging will be enabled for failed REST operations.
dsyncLog = os.Getenv("MINIO_DSYNC_TRACE") == "1"
rand.Seed(time.Now().UnixNano())
}
func log(format string, data ...interface{}) {