diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2022-11-01 11:28:46 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2022-11-01 11:28:46 -0700 |
commit | eec74745e4c4af7d744509d66cb9b56481c471d3 (patch) | |
tree | 67f1f0827c2a447ea0e8f3678b6fbe465239e786 /adenosine-pds/src/bin | |
parent | a03eb78a0c10625baefb7fe4d5b7d00cf5403f94 (diff) | |
download | adenosine-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.rs | 6 |
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), } } |