Parcourir la source

acme/authority: Add space around `*`

Makes the line more readable.
David Cowden il y a 6 ans
Parent
commit
5e6a020da5
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      acme/authority.go

+ 2 - 2
acme/authority.go

@@ -323,8 +323,8 @@ func (a *Authority) BackoffChallenge(p provisioner.Interface, accID, chID string
 	}
 	}
 
 
 	remCalls := ch.getRetry().MaxAttempts - math.Mod(ch.getRetry().Called, ch.getRetry().MaxAttempts)
 	remCalls := ch.getRetry().MaxAttempts - math.Mod(ch.getRetry().Called, ch.getRetry().MaxAttempts)
-	totBackoff := 0*time.Second
-	for i:=0; i < int(remCalls); i++ {
+	totBackoff := 0 * time.Second
+	for i := 0; i < int(remCalls); i++ {
 		clone := ch.clone()
 		clone := ch.clone()
 		clone.Retry.Called += float64(i)
 		clone.Retry.Called += float64(i)
 		totBackoff += clone.getBackoff()
 		totBackoff += clone.getBackoff()