replace deprecated Prestart to CreateRuntime hook
Prestart Hook is deprecated and can be replaced with CreateRuntime hook Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
This commit is contained in:
		@@ -1737,7 +1737,7 @@ func TestContainerHook(t *testing.T) {
 | 
			
		||||
		if err != nil {
 | 
			
		||||
			return err
 | 
			
		||||
		}
 | 
			
		||||
		s.Hooks.Prestart = []specs.Hook{
 | 
			
		||||
		s.Hooks.CreateRuntime = []specs.Hook{
 | 
			
		||||
			{
 | 
			
		||||
				Path: path,
 | 
			
		||||
				Args: []string{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user