mirror of
https://github.com/containers/podman.git
synced 2025-12-06 05:37:49 +08:00
podman healthcheck run (phase 1)
Add the ability to manually run a container's healthcheck command. This is only the first phase of implementing the healthcheck. Subsequent pull requests will deal with the exposing the results and history of healthchecks as well as the scheduling. Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
@@ -121,3 +121,10 @@ func getSystemSubCommands() []*cobra.Command {
|
||||
_renumberCommand,
|
||||
}
|
||||
}
|
||||
|
||||
// Commands that the local client implements
|
||||
func getHealtcheckSubCommands() []*cobra.Command {
|
||||
return []*cobra.Command{
|
||||
_healthcheckrunCommand,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user