Rename image config field for consistency
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This commit is contained in:
parent
5e025dfa2b
commit
9385a6346a
@ -58,7 +58,7 @@ import (
|
|||||||
test?: [...string]
|
test?: [...string]
|
||||||
interval?: int
|
interval?: int
|
||||||
timeout?: int
|
timeout?: int
|
||||||
startPeriod?: int
|
startperiod?: int
|
||||||
retries?: int
|
retries?: int
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ type HealthConfig struct {
|
|||||||
// Zero means to inherit. Durations are expressed as integer nanoseconds.
|
// Zero means to inherit. Durations are expressed as integer nanoseconds.
|
||||||
Interval time.Duration `json:"interval,omitempty"` // Interval is the time to wait between checks.
|
Interval time.Duration `json:"interval,omitempty"` // Interval is the time to wait between checks.
|
||||||
Timeout time.Duration `json:"timeout,omitempty"` // Timeout is the time to wait before considering the check to have hung.
|
Timeout time.Duration `json:"timeout,omitempty"` // Timeout is the time to wait before considering the check to have hung.
|
||||||
StartPeriod time.Duration `json:"startPeriod,omitempty"` // The start period for the container to initialize before the retries starts to count down.
|
StartPeriod time.Duration `json:"startperiod,omitempty"` // The start period for the container to initialize before the retries starts to count down.
|
||||||
|
|
||||||
// Retries is the number of consecutive failures needed to consider a container as unhealthy.
|
// Retries is the number of consecutive failures needed to consider a container as unhealthy.
|
||||||
// Zero means inherit.
|
// Zero means inherit.
|
||||||
|
Reference in New Issue
Block a user