acme: nit code cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
3f84541412
commit
c968da789e
@ -185,8 +185,8 @@ impl AcmePlugin for DnsPlugin {
|
||||
let result = self
|
||||
.action(client, authorization, domain, task.clone(), "setup")
|
||||
.await;
|
||||
let validation_delay = self.core.validation_delay.unwrap_or(30) as u64;
|
||||
|
||||
let validation_delay = self.core.validation_delay.unwrap_or(30) as u64;
|
||||
if validation_delay > 0 {
|
||||
task.log(format!(
|
||||
"Sleeping {} seconds to wait for TXT record propagation",
|
||||
|
Loading…
Reference in New Issue
Block a user