Fix pipelining in buildah connection plugin (#59745)

* Fix pipelining in buildah plugin

* Add changelog fragment
pull/61377/head
Jordan Webb 5 years ago committed by ansibot
parent b563f7f880
commit 27cac742ca

@ -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