[stein-only] Use delegate name for podman logger

Backported I5617e11f5d315f408d818e1ce47aa68f4a0d777a
missed a small part of the original change.

Change-Id: I29d77f1b55e07ec5edb641574ad2e8ac3d7d2804
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
This commit is contained in:
Bogdan Dobrelya 2019-08-28 16:41:22 +02:00
parent 0be2e7a9b2
commit 958794ee3a
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class PodmanBuilder(base.BaseBuilder):
if not os.path.exists(self.cont_log_path):
os.makedirs(self.cont_log_path)
log_path = os.path.join(self.cont_log_path, container)
log_path = os.path.join(self.cont_log_path, delegate)
logging = ['--log-driver', 'json-file',
'--log-opt', 'path=%s.log' % log_path]
cmd.extend(logging)