From 452b9e204f21f32c71ac876f1fce82697a1935e9 Mon Sep 17 00:00:00 2001 From: Peter Hunt Date: Thu, 14 Jan 2021 13:58:36 -0500 Subject: oci: drop ExecContainerCleanup without the socketsDir, we no longer need to worry about cleaning up after an exec. Signed-off-by: Peter Hunt --- libpod/oci.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libpod/oci.go') diff --git a/libpod/oci.go b/libpod/oci.go index f2053f1b5..1f2c7dd71 100644 --- a/libpod/oci.go +++ b/libpod/oci.go @@ -94,10 +94,6 @@ type OCIRuntime interface { // ExecUpdateStatus checks the status of a given exec session. // Returns true if the session is still running, or false if it exited. ExecUpdateStatus(ctr *Container, sessionID string) (bool, error) - // ExecContainerCleanup cleans up after an exec session exits. - // It removes any files left by the exec session that are no longer - // needed, including the attach socket. - ExecContainerCleanup(ctr *Container, sessionID string) error // CheckpointContainer checkpoints the given container. // Some OCI runtimes may not support this - if SupportsCheckpoint() -- cgit v1.2.3-54-g00ecf