mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
run go fmt
This commit is contained in:
parent
266602a3d6
commit
b68af8ab63
@ -34,7 +34,7 @@ func (c *certmagicProvider) setup() {
|
||||
// randomness so they don't collide
|
||||
// RenewalWindowRatio [0.33 - 0.50)
|
||||
rand.Seed(time.Now().UnixNano())
|
||||
randomRatio := float64(rand.Intn(17) + 33) * 0.01
|
||||
randomRatio := float64(rand.Intn(17)+33) * 0.01
|
||||
certmagic.Default.RenewalWindowRatio = randomRatio
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user