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 @@ -667,21 +667,21 @@ impl Catalog for GlueCatalog {
667
667
Some ( current_metadata_location) ,
668
668
) ?) ;
669
669
let builder = with_catalog_id ! ( builder, self . config) ;
670
- let _update_table_output = builder. send ( ) . await . map_err ( |e| {
670
+ let _ = builder. send ( ) . await . map_err ( |e| {
671
671
let error = e. into_service_error ( ) ;
672
672
match error {
673
673
UpdateTableError :: EntityNotFoundException ( _) => Error :: new (
674
674
ErrorKind :: TableNotFound ,
675
- format ! ( "Table {} is not found" , table_ident ) ,
675
+ format ! ( "Table {table_ident } is not found" ) ,
676
676
) ,
677
677
UpdateTableError :: ConcurrentModificationException ( _) => Error :: new (
678
678
ErrorKind :: CatalogCommitConflicts ,
679
- format ! ( "Commit failed for table: {}" , table_ident ) ,
679
+ format ! ( "Commit failed for table: {table_ident}" ) ,
680
680
)
681
681
. with_retryable ( true ) ,
682
682
_ => Error :: new (
683
683
ErrorKind :: Unexpected ,
684
- "Operation failed for hitting aws sdk error" . to_string ( ) ,
684
+ "Operation failed for hitting aws sdk error" ,
685
685
) ,
686
686
}
687
687
. with_source ( anyhow ! ( "aws sdk error: {:?}" , error) )
You can’t perform that action at this time.
0 commit comments