close the io.ReadCloser from storage drive
Signed-off-by: sangluo <sangluo@pinduoduo.com>master
							parent
							
								
									077b38b95e
								
							
						
					
					
						commit
						334a7e7ff6
					
				|  | @ -18,6 +18,7 @@ func getContent(ctx context.Context, driver driver.StorageDriver, p string) ([]b | |||
| 	if err != nil { | ||||
| 		return nil, err | ||||
| 	} | ||||
| 	defer r.Close() | ||||
| 
 | ||||
| 	return readAllLimited(r, maxBlobGetSize) | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue