mirror of
				https://github.com/minio/minio.git
				synced 2025-10-30 00:05:02 -04:00 
			
		
		
		
	Remove treewalk abort log message (#5953)
Log doesn't add any value and can be removed. Fixes #5943
This commit is contained in:
		
							parent
							
								
									4eb788df79
								
							
						
					
					
						commit
						ffa6b45d00
					
				| @ -20,8 +20,6 @@ import ( | ||||
| 	"context" | ||||
| 	"sort" | ||||
| 	"strings" | ||||
| 
 | ||||
| 	"github.com/minio/minio/cmd/logger" | ||||
| ) | ||||
| 
 | ||||
| // Tree walk result carries results of tree walking. | ||||
| @ -147,7 +145,6 @@ func doTreeWalk(ctx context.Context, bucket, prefixDir, entryPrefixMatch, marker | ||||
| 	if err != nil { | ||||
| 		select { | ||||
| 		case <-endWalkCh: | ||||
| 			logger.LogIf(ctx, errWalkAbort) | ||||
| 			return errWalkAbort | ||||
| 		case resultCh <- treeWalkResult{err: err}: | ||||
| 			return err | ||||
| @ -229,7 +226,6 @@ func doTreeWalk(ctx context.Context, bucket, prefixDir, entryPrefixMatch, marker | ||||
| 		isEOF := ((i == len(entries)-1) && isEnd) | ||||
| 		select { | ||||
| 		case <-endWalkCh: | ||||
| 			logger.LogIf(ctx, errWalkAbort) | ||||
| 			return errWalkAbort | ||||
| 		case resultCh <- treeWalkResult{entry: pathJoin(prefixDir, entry), end: isEOF}: | ||||
| 		} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user