Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Adrien Guillo <adrien@quickwit.io>
  • Loading branch information
fmassot and guilload authored Dec 6, 2023
1 parent 8e193aa commit 46d61e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion quickwit/quickwit-cli/tests/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ async fn test_garbage_collect_index_cli() {
metastore
.mark_splits_for_deletion(MarkSplitsForDeletionRequest::new(
index_uid.clone(),
vec![split_metadata.clone().split_id.to_string()],
vec![split_metadata.split_id.to_string()],
))
.await
.unwrap();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ impl FileBackedMetastore {
}

/// Returns the list of splits for the given request.
/// No error is returned if one of the requested `index_uid` does not exist.
/// No error is returned if any of the requested `index_uid` does not exist.
async fn inner_list_splits(&self, request: ListSplitsRequest) -> MetastoreResult<Vec<Split>> {
let list_splits_query = request.deserialize_list_splits_query()?;
let mut all_splits = Vec::new();
Expand Down Expand Up @@ -636,7 +636,7 @@ impl MetastoreService for FileBackedMetastore {
/// Read-only accessors

/// Streams of splits for the given request.
/// No error is returned if one of the requested `index_uid` does not exist.
/// No error is returned if any of the requested `index_uid` does not exist.
async fn list_splits(
&mut self,
request: ListSplitsRequest,
Expand Down

0 comments on commit 46d61e7

Please sign in to comment.