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 {
667667 Some ( current_metadata_location) ,
668668 ) ?) ;
669669 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| {
671671 let error = e. into_service_error ( ) ;
672672 match error {
673673 UpdateTableError :: EntityNotFoundException ( _) => Error :: new (
674674 ErrorKind :: TableNotFound ,
675- format ! ( "Table {} is not found" , table_ident ) ,
675+ format ! ( "Table {table_ident } is not found" ) ,
676676 ) ,
677677 UpdateTableError :: ConcurrentModificationException ( _) => Error :: new (
678678 ErrorKind :: CatalogCommitConflicts ,
679- format ! ( "Commit failed for table: {}" , table_ident ) ,
679+ format ! ( "Commit failed for table: {table_ident}" ) ,
680680 )
681681 . with_retryable ( true ) ,
682682 _ => Error :: new (
683683 ErrorKind :: Unexpected ,
684- "Operation failed for hitting aws sdk error" . to_string ( ) ,
684+ "Operation failed for hitting aws sdk error" ,
685685 ) ,
686686 }
687687 . with_source ( anyhow ! ( "aws sdk error: {:?}" , error) )
You can’t perform that action at this time.
0 commit comments