mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	Use wrong ApplyLayer in diff_windows.go
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
This commit is contained in:
		
							parent
							
								
									e85bb788de
								
							
						
					
					
						commit
						9501f2ea97
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -38,7 +38,7 @@ func applyLayerHandler(dest string, layer io.Reader, options *archive.TarOptions
 | 
			
		|||
	s, err := archive.UnpackLayer(dest, layer, nil)
 | 
			
		||||
	os.RemoveAll(tmpDir)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return 0, fmt.Errorf("ApplyLayer %s failed UnpackLayer to %s", err, dest)
 | 
			
		||||
		return 0, fmt.Errorf("ApplyLayer %s failed UnpackLayer to %s: %s", layer, dest, err)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	return s, nil
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue