summaryrefslogtreecommitdiff
path: root/libpod/container_exec.go
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2022-05-23 13:27:04 -0400
committerMatthew Heon <mheon@redhat.com>2022-05-25 13:28:04 -0400
commit9fcfea7643b243a3ad691daaf07fe358f85491cb (patch)
tree394d7d646b73b8b1dee8683d2485adfe7ade0203 /libpod/container_exec.go
parent819e5bcb943c6f604fdc65be1c0387055e0a9f20 (diff)
downloadpodman-9fcfea7643b243a3ad691daaf07fe358f85491cb.tar.gz
podman-9fcfea7643b243a3ad691daaf07fe358f85491cb.tar.bz2
podman-9fcfea7643b243a3ad691daaf07fe358f85491cb.zip
First batch of resolutions to FIXMEs
Most of these are no longer relevant, just drop the comments. Most notable change: allow `podman kill` on paused containers. Works just fine when I test it. Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'libpod/container_exec.go')
-rw-r--r--libpod/container_exec.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/libpod/container_exec.go b/libpod/container_exec.go
index c05e7fd94..1e8fce4da 100644
--- a/libpod/container_exec.go
+++ b/libpod/container_exec.go
@@ -279,8 +279,6 @@ func (c *Container) ExecStart(sessionID string) error {
// ExecStartAndAttach starts and attaches to an exec session in a container.
// newSize resizes the tty to this size before the process is started, must be nil if the exec session has no tty
-// TODO: Should we include detach keys in the signature to allow override?
-// TODO: How do we handle AttachStdin/AttachStdout/AttachStderr?
func (c *Container) ExecStartAndAttach(sessionID string, streams *define.AttachStreams, newSize *define.TerminalSize) error {
if !c.batched {
c.lock.Lock()