summaryrefslogtreecommitdiffstats
path: root/adenosine-pds/src/bin
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-11-01 11:28:46 -0700
committerBryan Newbold <bnewbold@robocracy.org>2022-11-01 11:28:46 -0700
commiteec74745e4c4af7d744509d66cb9b56481c471d3 (patch)
tree67f1f0827c2a447ea0e8f3678b6fbe465239e786 /adenosine-pds/src/bin
parenta03eb78a0c10625baefb7fe4d5b7d00cf5403f94 (diff)
downloadadenosine-eec74745e4c4af7d744509d66cb9b56481c471d3.tar.gz
adenosine-eec74745e4c4af7d744509d66cb9b56481c471d3.zip
pds: more skeleton progress
Diffstat (limited to 'adenosine-pds/src/bin')
-rw-r--r--adenosine-pds/src/bin/adenosine-pds.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/adenosine-pds/src/bin/adenosine-pds.rs b/adenosine-pds/src/bin/adenosine-pds.rs
index 44c4cef..b76d015 100644
--- a/adenosine-pds/src/bin/adenosine-pds.rs
+++ b/adenosine-pds/src/bin/adenosine-pds.rs
@@ -80,11 +80,9 @@ fn main() -> Result<()> {
match opt.cmd {
Command::Serve { port } => {
// TODO: log some config stuff?
- run_server(port)
- }
- Command::Import { car_path } => {
- load_car_to_sqlite(&opt.blockstore_db_path, &car_path)
+ run_server(port, &opt.blockstore_db_path, &opt.atp_db_path)
}
+ Command::Import { car_path } => load_car_to_sqlite(&opt.blockstore_db_path, &car_path),
Command::Inspect {} => dump_mst_keys(&opt.blockstore_db_path),
}
}