Merge pull request #1633 from helderco/field-rename

Rename image config field for consistency
This commit is contained in:
Andrea Luzzardi 2022-02-17 12:50:11 -08:00 committed by GitHub
commit d2c38c3bb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ import (
test?: [...string]
interval?: int
timeout?: int
startPeriod?: int
startperiod?: int
retries?: int
}

View File

@ -62,7 +62,7 @@ type HealthConfig struct {
// Zero means to inherit. Durations are expressed as integer nanoseconds.
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.
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.
// Zero means inherit.