Get rid of unused overlord.private_key

This commit is contained in:
Mike Dilger 2022-12-30 13:57:43 +13:00
parent 1b8ea9d447
commit 0fba9d4588

View File

@ -29,9 +29,6 @@ pub struct Overlord {
// Vec of urls our minions are handling // Vec of urls our minions are handling
urls_watching: Vec<Url>, urls_watching: Vec<Url>,
#[allow(dead_code)]
private_key: Option<PrivateKey>, // note that PrivateKey already zeroizes on drop
} }
impl Overlord { impl Overlord {
@ -43,7 +40,6 @@ impl Overlord {
minions: task::JoinSet::new(), minions: task::JoinSet::new(),
minions_task_url: HashMap::new(), minions_task_url: HashMap::new(),
urls_watching: Vec::new(), urls_watching: Vec::new(),
private_key: None,
} }
} }