summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-04-10 11:28:57 -0700
committerGitHub <noreply@github.com>2019-04-10 11:28:57 -0700
commit6cd6eb6768bb936e87309c61d9cf131350274700 (patch)
tree4b5071c0f5edc410d4a0768fa08167b27ff4f6ec
parent1fb0a09591ae86b659dc87bd9e3f7fe29d8add8d (diff)
parenta07b2c2c6047357b5e4047a33b9a81a43c461b30 (diff)
downloadpodman-6cd6eb6768bb936e87309c61d9cf131350274700.tar.gz
podman-6cd6eb6768bb936e87309c61d9cf131350274700.tar.bz2
podman-6cd6eb6768bb936e87309c61d9cf131350274700.zip
Merge pull request #2892 from edsantiago/healthcheck_typo_fix
(minor): fix misspelled 'Healthcheck'
-rw-r--r--cmd/podman/commands.go2
-rw-r--r--cmd/podman/commands_remoteclient.go2
-rw-r--r--cmd/podman/healthcheck.go2
-rw-r--r--completions/bash/podman2
-rw-r--r--docs/podman-healthcheck-run.1.md2
-rw-r--r--libpod/container.go2
-rw-r--r--libpod/healthcheck.go2
7 files changed, 7 insertions, 7 deletions
diff --git a/cmd/podman/commands.go b/cmd/podman/commands.go
index 4d3df6896..9fea1494b 100644
--- a/cmd/podman/commands.go
+++ b/cmd/podman/commands.go
@@ -102,7 +102,7 @@ func getSystemSubCommands() []*cobra.Command {
}
// Commands that the local client implements
-func getHealtcheckSubCommands() []*cobra.Command {
+func getHealthcheckSubCommands() []*cobra.Command {
return []*cobra.Command{
_healthcheckrunCommand,
}
diff --git a/cmd/podman/commands_remoteclient.go b/cmd/podman/commands_remoteclient.go
index 9b09e7dbc..278fe229c 100644
--- a/cmd/podman/commands_remoteclient.go
+++ b/cmd/podman/commands_remoteclient.go
@@ -49,6 +49,6 @@ func getSystemSubCommands() []*cobra.Command {
}
// Commands that the remoteclient implements
-func getHealtcheckSubCommands() []*cobra.Command {
+func getHealthcheckSubCommands() []*cobra.Command {
return []*cobra.Command{}
}
diff --git a/cmd/podman/healthcheck.go b/cmd/podman/healthcheck.go
index 48d6b6bbf..9fb099ffa 100644
--- a/cmd/podman/healthcheck.go
+++ b/cmd/podman/healthcheck.go
@@ -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)
}
diff --git a/completions/bash/podman b/completions/bash/podman
index a3f381962..3616c6ca1 100644
--- a/completions/bash/podman
+++ b/completions/bash/podman
@@ -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="
diff --git a/docs/podman-healthcheck-run.1.md b/docs/podman-healthcheck-run.1.md
index e19c6250c..21f2d9b20 100644
--- a/docs/podman-healthcheck-run.1.md
+++ b/docs/podman-healthcheck-run.1.md
@@ -29,7 +29,7 @@ Print usage statement
## EXAMPLES
```
-$ podman healtcheck run mywebapp
+$ podman healthcheck run mywebapp
```
## SEE ALSO
diff --git a/libpod/container.go b/libpod/container.go
index 523e571b1..de4674222 100644
--- a/libpod/container.go
+++ b/libpod/container.go
@@ -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"`
}
diff --git a/libpod/healthcheck.go b/libpod/healthcheck.go
index d8f56860b..3a6609740 100644
--- a/libpod/healthcheck.go
+++ b/libpod/healthcheck.go
@@ -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