Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
imotov committed Aug 12, 2023
1 parent 079705d commit 76ad046
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions quickwit/quickwit-storage/src/cache_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ impl Storage for CacheStorage {
if let Some(split) = guard.get(split_id) {
if matches!(split.0, SplitState::Ready) {
// Only return cache if it is ready
// TODO: Ths
return self.cache.get_slice(path, range).await
return self.cache.get_slice(path, range).await;
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion quickwit/quickwit-storage/src/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

use std::{fmt, sync::Arc};
use std::fmt;
use std::ops::Range;
use std::path::Path;
use std::sync::Arc;

use async_trait::async_trait;
use quickwit_common::uri::Uri;
Expand Down

0 comments on commit 76ad046

Please sign in to comment.