diff --git a/implementations/rust/ockam/ockam_api/src/bootstrapped_identities_store.rs b/implementations/rust/ockam/ockam_api/src/bootstrapped_identities_store.rs index 10bd35721bd..47de22c2a77 100644 --- a/implementations/rust/ockam/ockam_api/src/bootstrapped_identities_store.rs +++ b/implementations/rust/ockam/ockam_api/src/bootstrapped_identities_store.rs @@ -153,13 +153,6 @@ impl PreTrustedIdentities { PreTrustedIdentities::Fixed(entries) } - pub fn get_trusted_identities(self) -> Result> { - match self { - PreTrustedIdentities::Fixed(identities) => Ok(identities), - PreTrustedIdentities::ReloadFrom(path) => Self::parse_from_disk(&path), - } - } - fn parse_from_disk(path: &PathBuf) -> Result> { let contents = std::fs::read_to_string(path) .map_err(|e| ockam_core::Error::new(Origin::Other, Kind::Io, e))?;