diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-05-29 11:39:31 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-05-29 15:02:31 +0300 |
commit | e839c5f1c93e1fe024a2656d319721a7b23c6461 (patch) | |
tree | 3828b84f7e46d8f9976d1a828e8625e22f79c84a /src/bin | |
parent | 03a8b0f9cba08ad09cb8494579f6e318aee762f4 (diff) | |
download | obnam2-e839c5f1c93e1fe024a2656d319721a7b23c6461.tar.gz |
refactor: count chunks via file system, not via chunk server API
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/obnam-server.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bin/obnam-server.rs b/src/bin/obnam-server.rs index efee77e..29ea9ff 100644 --- a/src/bin/obnam-server.rs +++ b/src/bin/obnam-server.rs @@ -155,8 +155,6 @@ pub async fn search_chunks( } if key == "generation" && value == "true" { store.find_generations().expect("SQL lookup failed") - } else if key == "data" && value == "true" { - store.find_file_chunks().expect("SQL lookup failed") } else if key == "sha256" { store.find_by_sha256(value).expect("SQL lookup failed") } else { |