We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88764b5 commit 9c28295Copy full SHA for 9c28295
docker/common/ecs-get-port-mapping.py
@@ -50,7 +50,8 @@ def get_local_container_info():
50
51
if contains_key(ecs_local_task, 'Containers'):
52
for c in ecs_local_task['Containers']:
53
- if c['DockerId'] == docker_id:
+ container_docker_id = c.get('DockerId') or c.get('DockerID')
54
+ if container_docker_id == docker_id:
55
ecs_local_container = c
56
57
if ecs_local_container is None:
0 commit comments