Skip to content

Commit f7c49c1

Browse files
committed
what does detail oriented even mean
1 parent ea6e7f2 commit f7c49c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/catalog/glue/src/catalog.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -741,21 +741,21 @@ impl Catalog for GlueCatalog {
741741
Some(current_metadata_location),
742742
)?);
743743
let builder = with_catalog_id!(builder, self.config);
744-
let _update_table_output = builder.send().await.map_err(|e| {
744+
let _ = builder.send().await.map_err(|e| {
745745
let error = e.into_service_error();
746746
match error {
747747
UpdateTableError::EntityNotFoundException(_) => Error::new(
748748
ErrorKind::TableNotFound,
749-
format!("Table {} is not found", table_ident),
749+
format!("Table {table_ident} is not found"),
750750
),
751751
UpdateTableError::ConcurrentModificationException(_) => Error::new(
752752
ErrorKind::CatalogCommitConflicts,
753-
format!("Commit failed for table: {}", table_ident),
753+
format!("Commit failed for table: {table_ident}"),
754754
)
755755
.with_retryable(true),
756756
_ => Error::new(
757757
ErrorKind::Unexpected,
758-
"Operation failed for hitting aws sdk error".to_string(),
758+
"Operation failed for hitting aws sdk error",
759759
),
760760
}
761761
.with_source(anyhow!("aws sdk error: {:?}", error))

0 commit comments

Comments
 (0)