diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-04-28 15:20:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 15:20:06 +0200 |
commit | d2c2858018453986982a488493add5cd38ea1bef (patch) | |
tree | 9934295a66177b6a638053625e729ace898fea48 | |
parent | ca15a83fe0db5e5af917149d7b7cb770474edab1 (diff) | |
parent | 4a5fd6ca60ed3b318b50aca7a2965d03ea2a8f67 (diff) | |
download | podman-d2c2858018453986982a488493add5cd38ea1bef.tar.gz podman-d2c2858018453986982a488493add5cd38ea1bef.tar.bz2 podman-d2c2858018453986982a488493add5cd38ea1bef.zip |
Merge pull request #6008 from baude/v19hclogs
separate healthcheck and container log paths
-rw-r--r-- | libpod/healthcheck.go | 2 |
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 |