Browse Source

Reformat a long line

pull/104/head
Rodolphe Bréard 1 year ago
parent
commit
7bc2b3310c
  1. 3
      acmed/src/certificate.rs

3
acmed/src/certificate.rs

@ -81,7 +81,8 @@ impl Certificate {
));
let expires_in = expires_in.saturating_sub(self.renew_delay);
let expires_in = if !self.random_early_renew.is_zero() {
expires_in.saturating_sub(thread_rng().gen_range(Duration::ZERO..self.random_early_renew))
expires_in
.saturating_sub(thread_rng().gen_range(Duration::ZERO..self.random_early_renew))
} else {
expires_in
};

Loading…
Cancel
Save