mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
Don't delete temporary variables at the end of block
Co-authored-by: Sergey <6213510+sshnaidm@users.noreply.github.com>
This commit is contained in:
parent
cb26f6fde3
commit
772bfda471
1 changed files with 0 additions and 1 deletions
|
|
@ -57,7 +57,6 @@ def run_generate_systemd_command(module, module_params, name, version):
|
|||
arg_name = 'stop-timeout' if gt4ver else 'time'
|
||||
arg_value = sysconf.get('stop_timeout') if sysconf.get('stop_timeout') is not None else sysconf.get('time')
|
||||
command.extend(['--%s=%s' % (arg_name, arg_value)])
|
||||
del arg_name, arg_value
|
||||
if sysconf.get('start_timeout') is not None:
|
||||
command.extend(['--start-timeout=%s' % sysconf['start_timeout']])
|
||||
if sysconf.get('no_header'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue