hcsshim seems to have been updated
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
		
							
								
								
									
										4
									
								
								vendor/github.com/Microsoft/hcsshim/pkg/ociwclayer/export.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/github.com/Microsoft/hcsshim/pkg/ociwclayer/export.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -25,7 +25,9 @@ func ExportLayerToTar(ctx context.Context, w io.Writer, path string, parentLayer
 | 
				
			|||||||
	if err != nil {
 | 
						if err != nil {
 | 
				
			||||||
		return err
 | 
							return err
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	defer hcsshim.DeactivateLayer(driverInfo, path)
 | 
						defer func() {
 | 
				
			||||||
 | 
							_ = hcsshim.DeactivateLayer(driverInfo, path)
 | 
				
			||||||
 | 
						}()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Prepare and unprepare the layer to ensure that it has been initialized.
 | 
						// Prepare and unprepare the layer to ensure that it has been initialized.
 | 
				
			||||||
	err = hcsshim.PrepareLayer(driverInfo, path, parentLayerPaths)
 | 
						err = hcsshim.PrepareLayer(driverInfo, path, parentLayerPaths)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user