mirror of
https://github.com/containers/podman.git
synced 2025-06-20 00:51:16 +08:00
Merge pull request #6009 from baude/v2hclog
separate healthcheck and container log paths
This commit is contained in:
@ -238,7 +238,7 @@ func (c *Container) updateHealthCheckLog(hcl define.HealthCheckLog, inStartPerio
|
|||||||
|
|
||||||
// HealthCheckLogPath returns the path for where the health check log is
|
// HealthCheckLogPath returns the path for where the health check log is
|
||||||
func (c *Container) healthCheckLogPath() string {
|
func (c *Container) healthCheckLogPath() string {
|
||||||
return filepath.Join(filepath.Dir(c.LogPath()), "healthcheck.log")
|
return filepath.Join(filepath.Dir(c.state.RunDir), "healthcheck.log")
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetHealthCheckLog returns HealthCheck results by reading the container's
|
// GetHealthCheckLog returns HealthCheck results by reading the container's
|
||||||
|
Reference in New Issue
Block a user