(minor): fix misspelled 'Healthcheck'

Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
Ed Santiago 2019-04-10 09:40:22 -06:00
parent 2f2c7660c3
commit a07b2c2c60
7 changed files with 7 additions and 7 deletions

View File

@ -104,7 +104,7 @@ func getSystemSubCommands() []*cobra.Command {
}
// Commands that the local client implements
func getHealtcheckSubCommands() []*cobra.Command {
func getHealthcheckSubCommands() []*cobra.Command {
return []*cobra.Command{
_healthcheckrunCommand,
}

View File

@ -49,6 +49,6 @@ func getSystemSubCommands() []*cobra.Command {
}
// Commands that the remoteclient implements
func getHealtcheckSubCommands() []*cobra.Command {
func getHealthcheckSubCommands() []*cobra.Command {
return []*cobra.Command{}
}

View File

@ -20,7 +20,7 @@ var healthcheckCommands []*cobra.Command
func init() {
healthcheckCommand.AddCommand(healthcheckCommands...)
healthcheckCommand.AddCommand(getHealtcheckSubCommands()...)
healthcheckCommand.AddCommand(getHealthcheckSubCommands()...)
healthcheckCommand.SetUsageTemplate(UsageTemplate())
rootCmd.AddCommand(healthcheckCommand.Command)
}

View File

@ -2388,7 +2388,7 @@ _podman_logout() {
_complete_ "$options_with_args" "$boolean_options"
}
_podman_healtcheck_run() {
_podman_healthcheck_run() {
local options_with_args=""
local boolean_options="

View File

@ -29,7 +29,7 @@ Print usage statement
## EXAMPLES
```
$ podman healtcheck run mywebapp
$ podman healthcheck run mywebapp
```
## SEE ALSO

View File

@ -363,7 +363,7 @@ type ContainerConfig struct {
// Systemd tells libpod to setup the container in systemd mode
Systemd bool `json:"systemd"`
// HealtchCheckConfig has the health check command and related timings
// HealthCheckConfig has the health check command and related timings
HealthCheckConfig *manifest.Schema2HealthConfig `json:"healthcheck"`
}

View File

@ -41,7 +41,7 @@ const (
HealthCheckDefined HealthCheckStatus = iota
// MaxHealthCheckNumberLogs is the maximum number of attempts we keep
// in the healtcheck history file
// in the healthcheck history file
MaxHealthCheckNumberLogs int = 5
// MaxHealthCheckLogLength in characters
MaxHealthCheckLogLength = 500