Run the certbot once.
(&self, force: bool)
| 182 | |
| 183 | /// Run the certbot once. |
| 184 | pub async fn renew(&self, force: bool) -> Result<bool> { |
| 185 | tokio::time::timeout(self.config.renew_timeout, self.renew_inner(force)) |
| 186 | .await |
| 187 | .context("requesting cert timeout")? |
| 188 | } |
| 189 | |
| 190 | pub fn renew_interval(&self) -> Duration { |
| 191 | self.config.renew_interval |
no test coverage detected