mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
Fix error with exitcommand for Podman v4 (#390)
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
parent
ecf4c1c52d
commit
81f20befb2
1 changed files with 1 additions and 1 deletions
|
|
@ -966,7 +966,7 @@ class PodmanContainerDiff:
|
|||
return self._diff_update_and_compare('log_driver', before, after)
|
||||
|
||||
def diffparam_log_level(self):
|
||||
excom = self.info['exitcommand']
|
||||
excom = self.info.get('exitcommand', [])
|
||||
if '--log-level' in excom:
|
||||
before = excom[excom.index('--log-level') + 1].lower()
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue