Module: check_mk
Branch: master
Commit: c7a7f19ccf5d7ce5ccf4c47429c05a7d739529e7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c7a7f19ccf5d7c…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Wed Feb 13 09:30:42 2019 +0100
docker_container_network: fix tiny bug
Change-Id: Ic18989e5dfd19e109108525079c7f04d5fc2e907
---
inventory/docker_container_network | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/inventory/docker_container_network b/inventory/docker_container_network
index 959f07b..70dc702 100644
--- a/inventory/docker_container_network
+++ b/inventory/docker_container_network
@@ -47,7 +47,7 @@ def inv_docker_container_network_networks(parsed, inventory_tree):
def inv_docker_container_network_ports(parsed, inventory_tree):
- port_data = parsed.get("Ports") or None
+ port_data = parsed.get("Ports") or {}
ports =
inventory_tree.get_list("software.applications.docker.container.ports:")