async fn maybe_renew_once(
client: &Client,
cfg: &AgentConfig,
clock: &ClockHandle,
cert_path: &Path,
threshold: f64,
) -> Result<()>async fn maybe_renew_once(
client: &Client,
cfg: &AgentConfig,
clock: &ClockHandle,
cert_path: &Path,
threshold: f64,
) -> Result<()>