Skip to content

Commit

Permalink
Merge pull request #101 from DBCDK/dead-code-removal
Browse files Browse the repository at this point in the history
Dead code removal
  • Loading branch information
0z13 authored Jan 27, 2025
2 parents de56a8e + a0df172 commit a2cda04
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/issuer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ use trust_dns_resolver::error::ResolveErrorKind;
use std::net::IpAddr;
use tokio::sync::RwLock;
use std::fmt::Debug;
use crate::dns::DNSError;

use crate::metrics;
use crate::metrics::MetricsType;
Expand Down
3 changes: 0 additions & 3 deletions src/vault.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,9 +404,6 @@ impl CertSpecable for VaultSpec {
}
// Write meta file, meta file just contains a rfc3339 timestamp
async fn touch(&self, config: &ConfigContainer) -> Result<(), TouchError> {
let monitor_config = config.get_vault_monitor_config()?;
let persist_spec = monitor_config.to_persist_spec(&self);

self.write_meta_file(config).await.map_err(|e| {
log::error("failed to write meta file", &e);
TouchError::Failed
Expand Down

0 comments on commit a2cda04

Please sign in to comment.