Merge "[stein-only] Use delegate name for podman logger" into stable/stein

This commit is contained in:
Zuul 2019-08-29 16:02:05 +00:00 committed by Gerrit Code Review
commit 26eb9c342d
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): if not os.path.exists(self.cont_log_path):
os.makedirs(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', logging = ['--log-driver', 'json-file',
'--log-opt', 'path=%s.log' % log_path] '--log-opt', 'path=%s.log' % log_path]
cmd.extend(logging) cmd.extend(logging)