summaryrefslogtreecommitdiff
path: root/pkg/specgen/generate/ports.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2022-01-11 16:15:56 -0500
committerGitHub <noreply@github.com>2022-01-11 16:15:56 -0500
commit3404ad042def1c02872f66836feae19c814901a4 (patch)
treea454ef259ab28f85b17f53b3273725480aa78515 /pkg/specgen/generate/ports.go
parentc4142ce0cfff792092bf420950b1985058cc241c (diff)
parent8f2358eeaa59fe369eebc6186403f95c2d66e49b (diff)
downloadpodman-3404ad042def1c02872f66836feae19c814901a4.tar.gz
podman-3404ad042def1c02872f66836feae19c814901a4.tar.bz2
podman-3404ad042def1c02872f66836feae19c814901a4.zip
Merge pull request #12694 from rhatdan/depend
Add podman rm --depend
Diffstat (limited to 'pkg/specgen/generate/ports.go')
-rw-r--r--pkg/specgen/generate/ports.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/specgen/generate/ports.go b/pkg/specgen/generate/ports.go
index b60cc1e98..34b43a62e 100644
--- a/pkg/specgen/generate/ports.go
+++ b/pkg/specgen/generate/ports.go
@@ -206,7 +206,7 @@ func ParsePortMapping(portMappings []types.PortMapping, exposePorts map[uint16][
}
// we do no longer need the original port mappings
- // set it to 0 length so we can resuse it to populate
+ // set it to 0 length so we can reuse it to populate
// the slice again while keeping the underlying capacity
portMappings = portMappings[:0]