Skip to content

Commit

Permalink
Merge pull request #11811 from umohnani8/swagger
Browse files Browse the repository at this point in the history
Add expose type map[uint16]string to description
  • Loading branch information
openshift-merge-robot authored Sep 30, 2021
2 parents ba72b17 + a1dce3a commit 6adf329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/specgen/specgen.go
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ type ContainerNetworkConfig struct {
// Expose is a number of ports that will be forwarded to the container
// if PublishExposedPorts is set.
// Expose is a map of uint16 (port number) to a string representing
// protocol. Allowed protocols are "tcp", "udp", and "sctp", or some
// protocol i.e map[uint16]string. Allowed protocols are "tcp", "udp", and "sctp", or some
// combination of the three separated by commas.
// If protocol is set to "" we will assume TCP.
// Only available if NetNS is set to Bridge or Slirp, and
Expand Down

0 comments on commit 6adf329

Please sign in to comment.