You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to convert the above configuration to compose format using the command cat tranform.txt | container-transform --input-type ecs --output-type compose. I got an error like this.
File "/local/lib/python2.7/site-packages/container_transform/ecs.py", line 113, in _parse_port_mapping
'host_port': int(mapping['hostPort']),
KeyError: 'hostPort'
After exploring the source code, I could find that you are accessing the hostPort key without checking its presence.
The text was updated successfully, but these errors were encountered:
Consider I have an 'ecs' script snippet
I tried to convert the above configuration to compose format using the command
cat tranform.txt | container-transform --input-type ecs --output-type compose
. I got an error like this.After exploring the source code, I could find that you are accessing the
hostPort
key without checking its presence.The text was updated successfully, but these errors were encountered: