From d82b21d5ab152ab67ead5c720979320ea20bdb58 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Tue, 17 Sep 2019 17:26:31 +0200 Subject: store: Rename store::Pool to Store. --- tool/src/commands/mod.rs | 2 +- tool/src/sq.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tool/src') diff --git a/tool/src/commands/mod.rs b/tool/src/commands/mod.rs index de671fa6..37f0852f 100644 --- a/tool/src/commands/mod.rs +++ b/tool/src/commands/mod.rs @@ -322,7 +322,7 @@ impl<'a> VerificationHelper for VHelper<'a> { // Try to get missing TPKs from the pool. for id in ids.iter().filter(|i| !seen.contains(i)) { let _ = - store::Pool::lookup_by_subkeyid(self.ctx, id) + store::Store::lookup_by_subkeyid(self.ctx, id) .and_then(|key| { // Keys from the pool are NOT trusted. key.tpk() diff --git a/tool/src/sq.rs b/tool/src/sq.rs index 94486ac7..78e571d3 100644 --- a/tool/src/sq.rs +++ b/tool/src/sq.rs @@ -490,7 +490,7 @@ fn real_main() -> Result<(), failure::Error> { table.set_format(*prettytable::format::consts::FORMAT_NO_LINESEP_WITH_TITLE); table.set_titles(row!["fingerprint", "updated", "status"]); - for (fingerprint, key) in store::Pool::list_keys(&ctx)? { + for (fingerprint, key) in store::Store::list_keys(&ctx)? { let stats = key.stats() .context("Failed to get key stats")?; table.add_row(Row::new(vec![ @@ -507,7 +507,7 @@ fn real_main() -> Result<(), failure::Error> { table.printstd(); }, ("log", Some(_)) => { - print_log(store::Pool::server_log(&ctx)?, true); + print_log(store::Store::server_log(&ctx)?, true); }, _ => unreachable!(), } -- cgit v1.2.3