aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/shared/container.go
diff options
context:
space:
mode:
authorDmitry Smirnov <onlyjob@member.fsf.org>2019-11-12 15:39:36 +1100
committerDmitry Smirnov <onlyjob@member.fsf.org>2019-11-13 08:15:00 +1100
commit8d928d525ffa8147d34d0f148e0aec6189461318 (patch)
tree1d23cda4487383c0dd6bb5f7e86cabea75eec5fc /cmd/podman/shared/container.go
parentde32b89eff0928abdef9d85a420b65d8865e737e (diff)
downloadpodman-8d928d525ffa8147d34d0f148e0aec6189461318.tar.gz
podman-8d928d525ffa8147d34d0f148e0aec6189461318.tar.bz2
podman-8d928d525ffa8147d34d0f148e0aec6189461318.zip
codespell: spelling corrections
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
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
}