[stable-2.8] Fix pipelining in buildah connection plugin

pull/60753/head
Jordan Webb 6 years ago committed by Toshio Kuratomi
parent ccd0b5bede
commit cc1bc400dd

@ -0,0 +1,2 @@
bugfixes:
- Pipelining now works with the buildah plugin.

@ -120,7 +120,7 @@ class Connection(ConnectionBase):
# shlex.split has a bug with text strings on Python-2.6 and can only handle text strings on Python-3
cmd_args_list = shlex.split(to_native(cmd, errors='surrogate_or_strict'))
rc, stdout, stderr = self._buildah("run", cmd_args_list)
rc, stdout, stderr = self._buildah("run", cmd_args_list, in_data)
display.vvvvv("STDOUT %r STDERR %r" % (stderr, stderr))
return rc, stdout, stderr

Loading…
Cancel
Save