mirror of
				https://github.com/minio/minio.git
				synced 2025-10-29 15:55:00 -04:00 
			
		
		
		
	XL/list: fix panic on list when a disk is down. (#1562)
This commit is contained in:
		
							parent
							
								
									5f0ca64346
								
							
						
					
					
						commit
						c314a98c1a
					
				| @ -86,6 +86,7 @@ func (xl XL) healFile(volume string, path string) error { | ||||
| 		erasurePart := slashpath.Join(path, fmt.Sprintf("file.%d", index)) | ||||
| 		writers[index], err = xl.storageDisks[index].CreateFile(volume, erasurePart) | ||||
| 		if err != nil { | ||||
| 			needsHeal[index] = false | ||||
| 			log.WithFields(logrus.Fields{ | ||||
| 				"volume": volume, | ||||
| 				"path":   path, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user