mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #7280 from angstwad/docker_inv_fix
Docker inventory bugfix for potential traceback
This commit is contained in:
commit
ef741178c4
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ def list_groups():
|
||||||
|
|
||||||
try:
|
try:
|
||||||
port = client.port(container, ssh_port)[0]
|
port = client.port(container, ssh_port)[0]
|
||||||
except (IndexError, AttributeError):
|
except (IndexError, AttributeError, TypeError):
|
||||||
port = dict()
|
port = dict()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Reference in a new issue