mirror of https://github.com/containers/podman.git
				
				
				
			Merge pull request #2282 from nalind/healthconfig-startperiod
Add StartPeriod to cmd/podman/docker.HealthConfig
This commit is contained in:
		
						commit
						aa62843670
					
				| 
						 | 
				
			
			@ -69,8 +69,9 @@ type HealthConfig struct {
 | 
			
		|||
	Test []string `json:",omitempty"`
 | 
			
		||||
 | 
			
		||||
	// Zero means to inherit. Durations are expressed as integer nanoseconds.
 | 
			
		||||
	Interval time.Duration `json:",omitempty"` // Interval is the time to wait between checks.
 | 
			
		||||
	Timeout  time.Duration `json:",omitempty"` // Timeout is the time to wait before considering the check to have hung.
 | 
			
		||||
	Interval    time.Duration `json:",omitempty"` // Interval is the time to wait between checks.
 | 
			
		||||
	Timeout     time.Duration `json:",omitempty"` // Timeout is the time to wait before considering the check to have hung.
 | 
			
		||||
	StartPeriod time.Duration `json:",omitempty"` // Time to wait after the container starts before running the first check.
 | 
			
		||||
 | 
			
		||||
	// Retries is the number of consecutive failures needed to consider a container as unhealthy.
 | 
			
		||||
	// Zero means inherit.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue