Skip to content

Commit

Permalink
Merge pull request containers#6009 from baude/v2hclog
Browse files Browse the repository at this point in the history
separate healthcheck and container log paths
  • Loading branch information
openshift-merge-robot authored Apr 27, 2020
2 parents ba6d7cf + fadd011 commit ebf0416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpod/healthcheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ebf0416

Please sign in to comment.