File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -741,21 +741,21 @@ impl Catalog for GlueCatalog {
741
741
Some ( current_metadata_location) ,
742
742
) ?) ;
743
743
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| {
745
745
let error = e. into_service_error ( ) ;
746
746
match error {
747
747
UpdateTableError :: EntityNotFoundException ( _) => Error :: new (
748
748
ErrorKind :: TableNotFound ,
749
- format ! ( "Table {} is not found" , table_ident ) ,
749
+ format ! ( "Table {table_ident } is not found" ) ,
750
750
) ,
751
751
UpdateTableError :: ConcurrentModificationException ( _) => Error :: new (
752
752
ErrorKind :: CatalogCommitConflicts ,
753
- format ! ( "Commit failed for table: {}" , table_ident ) ,
753
+ format ! ( "Commit failed for table: {table_ident}" ) ,
754
754
)
755
755
. with_retryable ( true ) ,
756
756
_ => Error :: new (
757
757
ErrorKind :: Unexpected ,
758
- "Operation failed for hitting aws sdk error" . to_string ( ) ,
758
+ "Operation failed for hitting aws sdk error" ,
759
759
) ,
760
760
}
761
761
. with_source ( anyhow ! ( "aws sdk error: {:?}" , error) )
You can’t perform that action at this time.
0 commit comments