mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
Add Startup HealthCheck configuration to the podman inspect
Signed-off-by: Jan Rodák <hony.com@seznam.cz>
This commit is contained in:
@ -427,6 +427,8 @@ func (c *Container) generateInspectContainerConfig(spec *spec.Spec) *define.Insp
|
||||
ctrConfig.StopSignal = signal.ToDockerFormat(c.config.StopSignal)
|
||||
// TODO: should JSON deep copy this to ensure internal pointers don't
|
||||
// leak.
|
||||
ctrConfig.StartupHealthCheck = c.config.StartupHealthCheckConfig
|
||||
|
||||
ctrConfig.Healthcheck = c.config.HealthCheckConfig
|
||||
|
||||
ctrConfig.HealthcheckOnFailureAction = c.config.HealthCheckOnFailureAction.String()
|
||||
|
Reference in New Issue
Block a user