Cleanup backup/backup_s3.go
This commit is contained in:
		
							parent
							
								
									bc3d92f9e6
								
							
						
					
					
						commit
						b52c3fb61e
					
				| 
						 | 
				
			
			@ -124,8 +124,7 @@ func (s *S3Backup) generateRemoteRequest(rc io.ReadCloser) error {
 | 
			
		|||
		}
 | 
			
		||||
 | 
			
		||||
		// Attempt to upload the part.
 | 
			
		||||
		_, err := handlePart(part, partSize)
 | 
			
		||||
		if err != nil {
 | 
			
		||||
		if _, err := handlePart(part, partSize); err != nil {
 | 
			
		||||
			l.WithField("part_id", part).WithError(err).Warn("failed to upload part")
 | 
			
		||||
			return err
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user