13
									
								
								supervisor/create_linux.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								supervisor/create_linux.go
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
package supervisor
 | 
			
		||||
 | 
			
		||||
import "github.com/docker/containerd/runtime"
 | 
			
		||||
 | 
			
		||||
type platformStartTask struct {
 | 
			
		||||
	Checkpoint *runtime.Checkpoint
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (task *startTask) setTaskCheckpoint(t *StartTask) {
 | 
			
		||||
	if t.Checkpoint != nil {
 | 
			
		||||
		task.Checkpoint = t.Checkpoint.Name
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user