Fix pipelining in buildah connection plugin (#59745)

* Fix pipelining in buildah plugin

* Add changelog fragment
This commit is contained in:
Jordan Webb 2019-08-27 07:11:47 -07:00 committed by ansibot
parent b563f7f880
commit 27cac742ca
2 changed files with 3 additions and 1 deletions

View file

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

View file

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