summaryrefslogtreecommitdiff
path: root/libpod/oci_conmon_exec_linux.go
diff options
context:
space:
mode:
authorPeter Hunt <pehunt@redhat.com>2021-01-14 13:58:36 -0500
committerPeter Hunt <pehunt@redhat.com>2021-04-16 17:45:52 -0400
commit452b9e204f21f32c71ac876f1fce82697a1935e9 (patch)
treed2ad478227a7d0bd7d872fb317c3b81ae2865a3e /libpod/oci_conmon_exec_linux.go
parentfdfff1dab2131cf53335576df9ece63f7c95c859 (diff)
downloadpodman-452b9e204f21f32c71ac876f1fce82697a1935e9.tar.gz
podman-452b9e204f21f32c71ac876f1fce82697a1935e9.tar.bz2
podman-452b9e204f21f32c71ac876f1fce82697a1935e9.zip
oci: drop ExecContainerCleanup
without the socketsDir, we no longer need to worry about cleaning up after an exec. Signed-off-by: Peter Hunt <pehunt@redhat.com>
Diffstat (limited to 'libpod/oci_conmon_exec_linux.go')
-rw-r--r--libpod/oci_conmon_exec_linux.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/libpod/oci_conmon_exec_linux.go b/libpod/oci_conmon_exec_linux.go
index f782193af..76338b86c 100644
--- a/libpod/oci_conmon_exec_linux.go
+++ b/libpod/oci_conmon_exec_linux.go
@@ -284,11 +284,6 @@ func (r *ConmonOCIRuntime) ExecUpdateStatus(ctr *Container, sessionID string) (b
return true, nil
}
-// ExecContainerCleanup cleans up files created when a command is run via ExecContainer.
-func (r *ConmonOCIRuntime) ExecContainerCleanup(ctr *Container, sessionID string) error {
- return nil
-}
-
// ExecAttachSocketPath is the path to a container's exec session attach socket.
func (r *ConmonOCIRuntime) ExecAttachSocketPath(ctr *Container, sessionID string) (string, error) {
// We don't even use container, so don't validity check it