aboutsummaryrefslogtreecommitdiff
path: root/libpod/container_internal.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-12-17 02:25:49 +0100
committerGitHub <noreply@github.com>2021-12-17 02:25:49 +0100
commitc9a3f4ec44c4507c0a801635b93d840723826b7a (patch)
tree3497f656c5bf82b926f5db9f4d80094d1f39a852 /libpod/container_internal.go
parent52d5f367b144f755dd20b18d88c5f79bc6b0c3fe (diff)
parente88c21366d33dccb25ef292610b9894aa5087260 (diff)
downloadpodman-c9a3f4ec44c4507c0a801635b93d840723826b7a.tar.gz
podman-c9a3f4ec44c4507c0a801635b93d840723826b7a.tar.bz2
podman-c9a3f4ec44c4507c0a801635b93d840723826b7a.zip
Merge pull request #12634 from baude/bz2024229
Removed .service file for healthchecks
Diffstat (limited to 'libpod/container_internal.go')
-rw-r--r--libpod/container_internal.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go
index a68de3173..7df82eb18 100644
--- a/libpod/container_internal.go
+++ b/libpod/container_internal.go
@@ -1877,7 +1877,7 @@ func (c *Container) cleanupStorage() error {
return cleanupErr
}
-// Unmount the a container and free its resources
+// Unmount the container and free its resources
func (c *Container) cleanup(ctx context.Context) error {
var lastError error
@@ -1885,7 +1885,7 @@ func (c *Container) cleanup(ctx context.Context) error {
// Remove healthcheck unit/timer file if it execs
if c.config.HealthCheckConfig != nil {
- if err := c.removeTimer(); err != nil {
+ if err := c.removeTransientFiles(ctx); err != nil {
logrus.Errorf("Removing timer for container %s healthcheck: %v", c.ID(), err)
}
}