Closed MrTomRod closed 9 months ago
In pgap.py's make_podman_cmd, the parameter --container-name is only respected if debug is True. The indentation is wrong imo:
pgap.py
make_podman_cmd
--container-name
debug
True
def make_podman_cmd(self): ... if self.params.args.debug: log_dir = self.params.outputdir + '/debug/log' os.makedirs(log_dir, exist_ok=True) self.cmd.extend(['--volume', '{}:/log/srv'.format(log_dir)]) if self.params.args.container_name: self.cmd.extend(['--name', self.params.args.container_name]) self.cmd.append(self.params.docker_image)
Should be:
Hi, Thomas! Thank you for your report. Have you tried our October/2023 version? We fixed it according to our release notes.
Yes, it works!
Excellent! Thanks for confirming, Thomas!
In
pgap.py
'smake_podman_cmd
, the parameter--container-name
is only respected ifdebug
isTrue
. The indentation is wrong imo:Should be: