diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-06-04 09:37:27 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2020-06-04 09:37:27 +0200 |
commit | 6229d9d07dc16cb4b4f7b35716a59b9432bbd651 (patch) | |
tree | 9bdcc4fccf55a4165b7ce5874421edbb286f1e25 /pkg/api/server/swagger.go | |
parent | 1f8c509fafb4ce41970c4f28ed55daec459c7520 (diff) | |
download | podman-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/api/server/swagger.go')
0 files changed, 0 insertions, 0 deletions