diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-06-18 23:37:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-18 23:37:07 +0200 |
commit | af0a64ba8b4803bbb312f6a601ae59db663f4efb (patch) | |
tree | 0a33a9d80cdce7e177650d4d93830486d7ba3936 /vendor | |
parent | f9bb91268d1a4ed6d8683c02fd344aae23acd7d2 (diff) | |
parent | e22f91bd28082d2fa7b27d9d17684482da41c889 (diff) | |
download | podman-af0a64ba8b4803bbb312f6a601ae59db663f4efb.tar.gz podman-af0a64ba8b4803bbb312f6a601ae59db663f4efb.tar.bz2 podman-af0a64ba8b4803bbb312f6a601ae59db663f4efb.zip |
Merge pull request #3361 from TomSweeneyRedHat/dev/tsweeney/vendorbuildah1.9
Bump Buildah to v1.9.0
Diffstat (limited to 'vendor')
-rw-r--r-- | vendor/github.com/containers/buildah/buildah.go | 2 | ||||
-rw-r--r-- | vendor/github.com/containers/buildah/run_linux.go | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/vendor/github.com/containers/buildah/buildah.go b/vendor/github.com/containers/buildah/buildah.go index b97e048cc..329835d7a 100644 --- a/vendor/github.com/containers/buildah/buildah.go +++ b/vendor/github.com/containers/buildah/buildah.go @@ -26,7 +26,7 @@ const ( Package = "buildah" // Version for the Package. Bump version in contrib/rpm/buildah.spec // too. - Version = "1.8.4" + Version = "1.9.0" // The value we use to identify what type of information, currently a // serialized Builder structure, we are using as per-container state. // This should only be changed when we make incompatible changes to diff --git a/vendor/github.com/containers/buildah/run_linux.go b/vendor/github.com/containers/buildah/run_linux.go index 55f9502b2..0bf37da59 100644 --- a/vendor/github.com/containers/buildah/run_linux.go +++ b/vendor/github.com/containers/buildah/run_linux.go @@ -1134,8 +1134,14 @@ func runCopyStdio(stdio *sync.WaitGroup, copyPipes bool, stdioPipe [][]int, copy setNonblock(wfd, writeDesc[wfd], false) } - setNonblock(stdioPipe[unix.Stdin][1], writeDesc[stdioPipe[unix.Stdin][1]], true) + if copyPipes { + setNonblock(stdioPipe[unix.Stdin][1], writeDesc[stdioPipe[unix.Stdin][1]], true) + } + + runCopyStdioPassData(stdio, copyPipes, stdioPipe, copyConsole, consoleListener, finishCopy, finishedCopy, spec, relayMap, relayBuffer, readDesc, writeDesc) +} +func runCopyStdioPassData(stdio *sync.WaitGroup, copyPipes bool, stdioPipe [][]int, copyConsole bool, consoleListener *net.UnixListener, finishCopy []int, finishedCopy chan struct{}, spec *specs.Spec, relayMap map[int]int, relayBuffer map[int]*bytes.Buffer, readDesc map[int]string, writeDesc map[int]string) { closeStdin := false // Pass data back and forth. |