Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Get index (#11694)
Browse files Browse the repository at this point in the history
  • Loading branch information
CriesofCarrots authored Aug 18, 2020
1 parent 9e89a96 commit 55ce2eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage-bigtable/src/bigtable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ impl BigTable {
T: serde::de::DeserializeOwned,
{
let row_data = self.get_row_data(table, Some(key.clone()), None, 1).await?;
let (row_key, data) = &row_data[0];
let (row_key, data) = &row_data.get(0).ok_or_else(|| Error::RowNotFound)?;

deserialize_cell_data(data, table, row_key.to_string())
}
Expand Down

0 comments on commit 55ce2eb

Please sign in to comment.