summaryrefslogtreecommitdiff
path: root/pkg/env
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-06-04 09:37:27 +0200
committerValentin Rothberg <rothberg@redhat.com>2020-06-04 09:37:27 +0200
commit6229d9d07dc16cb4b4f7b35716a59b9432bbd651 (patch)
tree9bdcc4fccf55a4165b7ce5874421edbb286f1e25 /pkg/env
parent1f8c509fafb4ce41970c4f28ed55daec459c7520 (diff)
downloadpodman-6229d9d07dc16cb4b4f7b35716a59b9432bbd651.tar.gz
podman-6229d9d07dc16cb4b4f7b35716a59b9432bbd651.tar.bz2
podman-6229d9d07dc16cb4b4f7b35716a59b9432bbd651.zip
/images/.../json: fix port parsing
Fix a bug when parsing the `ExposedPorts` of the image that lead to panics when the field was set. The OCI image spec allows three valid formats: `tcp/port`, `udp/port` and `port` Fixes: #6490 Reported-by: @jgallucci32 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/env')
0 files changed, 0 insertions, 0 deletions