mirror of
https://github.com/containers/podman.git
synced 2025-05-22 01:27:07 +08:00
libpod: remove unused ExecStartAndAttach()
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:

committed by
openshift-cherrypick-robot

parent
c211617cad
commit
e24ccdd27b
@ -284,11 +284,7 @@ func (c *Container) ExecStart(sessionID string) error {
|
|||||||
return c.save()
|
return c.save()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *Container) ExecStartAndAttach(sessionID string, streams *define.AttachStreams, newSize *resize.TerminalSize) error {
|
// execStartAndAttach starts and attaches to an exec session in a container.
|
||||||
return c.execStartAndAttach(sessionID, streams, newSize, false)
|
|
||||||
}
|
|
||||||
|
|
||||||
// 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
|
// newSize resizes the tty to this size before the process is started, must be nil if the exec session has no tty
|
||||||
func (c *Container) execStartAndAttach(sessionID string, streams *define.AttachStreams, newSize *resize.TerminalSize, isHealthcheck bool) error {
|
func (c *Container) execStartAndAttach(sessionID string, streams *define.AttachStreams, newSize *resize.TerminalSize, isHealthcheck bool) error {
|
||||||
if !c.batched {
|
if !c.batched {
|
||||||
|
Reference in New Issue
Block a user