summaryrefslogtreecommitdiff
path: root/cmd/podman/shared/container.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-11-13 18:01:52 +0100
committerGitHub <noreply@github.com>2019-11-13 18:01:52 +0100
commit15220af08ce2346686e54851a6d498ec573e950c (patch)
tree95507d870e38e835c4398630a96dda6d1d342a3b /cmd/podman/shared/container.go
parent7a693a1946d201825bcd0933f565f07047312c70 (diff)
parent8d928d525ffa8147d34d0f148e0aec6189461318 (diff)
downloadpodman-15220af08ce2346686e54851a6d498ec573e950c.tar.gz
podman-15220af08ce2346686e54851a6d498ec573e950c.tar.bz2
podman-15220af08ce2346686e54851a6d498ec573e950c.zip
Merge pull request #4497 from onlyjob/master
codespell: spelling corrections
Diffstat (limited to 'cmd/podman/shared/container.go')
-rw-r--r--cmd/podman/shared/container.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/shared/container.go b/cmd/podman/shared/container.go
index bc64d63a9..f49943477 100644
--- a/cmd/podman/shared/container.go
+++ b/cmd/podman/shared/container.go
@@ -453,7 +453,7 @@ func PBatch(containers []*libpod.Container, workers int, opts PsOptions) []PsCon
psResults := []PsContainerOutput{}
// If the number of containers in question is less than the number of
- // proposed parallel operations, we shouldnt spawn so many workers.
+ // proposed parallel operations, we shouldn't spawn so many workers.
if workers > len(containers) {
workers = len(containers)
}
@@ -694,7 +694,7 @@ func portsToString(ports []ocicni.PortMapping) string {
portgroup, ok := portGroupMap[portMapKey]
if !ok {
portGroupMap[portMapKey] = &portGroup{first: v.ContainerPort, last: v.ContainerPort}
- // This list is required to travese portGroupMap.
+ // This list is required to traverse portGroupMap.
groupKeyList = append(groupKeyList, portMapKey)
continue
}