summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-28 00:37:12 +0200
committerGitHub <noreply@github.com>2020-04-28 00:37:12 +0200
commitebf041652e93487b8afbac2bc4d9031d8547d866 (patch)
treeddf684ee54f7debfeb4b3f44d6f2ed4ce76e23b7
parentba6d7cf1b3099243cb4a04c946e9eddcfe4de924 (diff)
parentfadd011a80c62f7a2fb971fac34d7b470c6a60df (diff)
downloadpodman-ebf041652e93487b8afbac2bc4d9031d8547d866.tar.gz
podman-ebf041652e93487b8afbac2bc4d9031d8547d866.tar.bz2
podman-ebf041652e93487b8afbac2bc4d9031d8547d866.zip
Merge pull request #6009 from baude/v2hclog
separate healthcheck and container log paths
-rw-r--r--libpod/healthcheck.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/healthcheck.go b/libpod/healthcheck.go
index daddb6561..aec5fa4e0 100644
--- a/libpod/healthcheck.go
+++ b/libpod/healthcheck.go
@@ -238,7 +238,7 @@ func (c *Container) updateHealthCheckLog(hcl define.HealthCheckLog, inStartPerio
// HealthCheckLogPath returns the path for where the health check log is
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