Skip to content

Commit

Permalink
Perform minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
guilload committed Mar 28, 2024
1 parent d53bbf6 commit b97a2e9
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions quickwit/quickwit-metastore/src/metastore/postgres/metastore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,7 @@ where E: sqlx::Executor<'a, Database = Postgres> {
)
.bind(index_id)
.fetch_optional(executor)
.await
.map_err(|error| MetastoreError::Db {
message: error.to_string(),
})?;
.await?;
Ok(index_opt)
}

Expand All @@ -159,10 +156,7 @@ where
)
.bind(index_uid.to_string())
.fetch_optional(executor)
.await
.map_err(|error| MetastoreError::Db {
message: error.to_string(),
})?;
.await?;
Ok(index_opt)
}

Expand Down

0 comments on commit b97a2e9

Please sign in to comment.