summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-30 16:11:27 -0400
committerGitHub <noreply@github.com>2021-09-30 16:11:27 -0400
commit6adf3293a02b84ed1060f87a36b3033f4a5357f5 (patch)
tree3bb6e3d9bcbcf273e7239cfde3753417f60a1baf /pkg
parentba72b17d28ff897d6721a227c615fcd511ca2e7a (diff)
parenta1dce3a0dfea48428cd07c016b9f3cf9a32978ff (diff)
downloadpodman-6adf3293a02b84ed1060f87a36b3033f4a5357f5.tar.gz
podman-6adf3293a02b84ed1060f87a36b3033f4a5357f5.tar.bz2
podman-6adf3293a02b84ed1060f87a36b3033f4a5357f5.zip
Merge pull request #11811 from umohnani8/swagger
Add expose type map[uint16]string to description
Diffstat (limited to 'pkg')
-rw-r--r--pkg/specgen/specgen.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/specgen/specgen.go b/pkg/specgen/specgen.go
index 7aa27487a..70b2aa1ef 100644
--- a/pkg/specgen/specgen.go
+++ b/pkg/specgen/specgen.go
@@ -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