mirror of https://github.com/containers/podman.git
(minor): fix misspelled 'Healthcheck'
Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
parent
2f2c7660c3
commit
a07b2c2c60
|
@ -104,7 +104,7 @@ func getSystemSubCommands() []*cobra.Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Commands that the local client implements
|
// Commands that the local client implements
|
||||||
func getHealtcheckSubCommands() []*cobra.Command {
|
func getHealthcheckSubCommands() []*cobra.Command {
|
||||||
return []*cobra.Command{
|
return []*cobra.Command{
|
||||||
_healthcheckrunCommand,
|
_healthcheckrunCommand,
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,6 +49,6 @@ func getSystemSubCommands() []*cobra.Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Commands that the remoteclient implements
|
// Commands that the remoteclient implements
|
||||||
func getHealtcheckSubCommands() []*cobra.Command {
|
func getHealthcheckSubCommands() []*cobra.Command {
|
||||||
return []*cobra.Command{}
|
return []*cobra.Command{}
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ var healthcheckCommands []*cobra.Command
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
healthcheckCommand.AddCommand(healthcheckCommands...)
|
healthcheckCommand.AddCommand(healthcheckCommands...)
|
||||||
healthcheckCommand.AddCommand(getHealtcheckSubCommands()...)
|
healthcheckCommand.AddCommand(getHealthcheckSubCommands()...)
|
||||||
healthcheckCommand.SetUsageTemplate(UsageTemplate())
|
healthcheckCommand.SetUsageTemplate(UsageTemplate())
|
||||||
rootCmd.AddCommand(healthcheckCommand.Command)
|
rootCmd.AddCommand(healthcheckCommand.Command)
|
||||||
}
|
}
|
||||||
|
|
|
@ -2388,7 +2388,7 @@ _podman_logout() {
|
||||||
_complete_ "$options_with_args" "$boolean_options"
|
_complete_ "$options_with_args" "$boolean_options"
|
||||||
}
|
}
|
||||||
|
|
||||||
_podman_healtcheck_run() {
|
_podman_healthcheck_run() {
|
||||||
local options_with_args=""
|
local options_with_args=""
|
||||||
|
|
||||||
local boolean_options="
|
local boolean_options="
|
||||||
|
|
|
@ -29,7 +29,7 @@ Print usage statement
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
```
|
```
|
||||||
$ podman healtcheck run mywebapp
|
$ podman healthcheck run mywebapp
|
||||||
```
|
```
|
||||||
|
|
||||||
## SEE ALSO
|
## SEE ALSO
|
||||||
|
|
|
@ -363,7 +363,7 @@ type ContainerConfig struct {
|
||||||
// Systemd tells libpod to setup the container in systemd mode
|
// Systemd tells libpod to setup the container in systemd mode
|
||||||
Systemd bool `json:"systemd"`
|
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"`
|
HealthCheckConfig *manifest.Schema2HealthConfig `json:"healthcheck"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ const (
|
||||||
HealthCheckDefined HealthCheckStatus = iota
|
HealthCheckDefined HealthCheckStatus = iota
|
||||||
|
|
||||||
// MaxHealthCheckNumberLogs is the maximum number of attempts we keep
|
// MaxHealthCheckNumberLogs is the maximum number of attempts we keep
|
||||||
// in the healtcheck history file
|
// in the healthcheck history file
|
||||||
MaxHealthCheckNumberLogs int = 5
|
MaxHealthCheckNumberLogs int = 5
|
||||||
// MaxHealthCheckLogLength in characters
|
// MaxHealthCheckLogLength in characters
|
||||||
MaxHealthCheckLogLength = 500
|
MaxHealthCheckLogLength = 500
|
||||||
|
|
Loading…
Reference in New Issue