summaryrefslogtreecommitdiff
path: root/libpod/container_attach_unsupported.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-05-16 01:08:05 +0200
committerGitHub <noreply@github.com>2019-05-16 01:08:05 +0200
commit95d90c1de7035ded6a4a05e6e3a80f0b32cbdf39 (patch)
tree6b936999c1110e086cbc805346b5c4932a0b31c2 /libpod/container_attach_unsupported.go
parent7ede1594652003e1ec545dc5c98c44142dcdd7c3 (diff)
parent5b3f3c411058ecd22431b119a2db6e8ce7cf111b (diff)
downloadpodman-95d90c1de7035ded6a4a05e6e3a80f0b32cbdf39.tar.gz
podman-95d90c1de7035ded6a4a05e6e3a80f0b32cbdf39.tar.bz2
podman-95d90c1de7035ded6a4a05e6e3a80f0b32cbdf39.zip
Merge pull request #3127 from mheon/fix_start_race
Ensure that start() in StartAndAttach() is locked
Diffstat (limited to 'libpod/container_attach_unsupported.go')
-rw-r--r--libpod/container_attach_unsupported.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/libpod/container_attach_unsupported.go b/libpod/container_attach_unsupported.go
index 068652b29..9e8badeaf 100644
--- a/libpod/container_attach_unsupported.go
+++ b/libpod/container_attach_unsupported.go
@@ -3,9 +3,11 @@
package libpod
import (
+ "sync"
+
"k8s.io/client-go/tools/remotecommand"
)
-func (c *Container) attach(streams *AttachStreams, keys string, resize <-chan remotecommand.TerminalSize, startContainer bool) error {
+func (c *Container) attach(streams *AttachStreams, keys string, resize <-chan remotecommand.TerminalSize, startContainer bool, wg *sync.WaitGroup) error {
return ErrNotImplemented
}