summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-08-12 19:51:19 +0200
committerGitHub <noreply@github.com>2019-08-12 19:51:19 +0200
commit9bee6907a5d867ab866374c6c7d8a45e3fa705da (patch)
treecd7459863292ef18585e8015802fda2126f0ed9e /cmd
parentca7bae7f89bd1843ce47fca41403b99b8583168e (diff)
parent3132fdab06b12cb7ccb5077be92d3753c7da84e8 (diff)
downloadpodman-9bee6907a5d867ab866374c6c7d8a45e3fa705da.tar.gz
podman-9bee6907a5d867ab866374c6c7d8a45e3fa705da.tar.bz2
podman-9bee6907a5d867ab866374c6c7d8a45e3fa705da.zip
Merge pull request #3751 from TomSweeneyRedHat/dev/tsweeney/squishnits
Squish a few tpyo nits in container.go doc
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/shared/container.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/podman/shared/container.go b/cmd/podman/shared/container.go
index 7f53f5ec9..1d35ac17b 100644
--- a/cmd/podman/shared/container.go
+++ b/cmd/podman/shared/container.go
@@ -660,7 +660,7 @@ func formatGroup(key string, start, last int32) string {
}
// portsToString converts the ports used to a string of the from "port1, port2"
-// and also groups continuous list of ports in readable format.
+// and also groups a continuous list of ports into a readable format.
func portsToString(ports []ocicni.PortMapping) string {
type portGroup struct {
first int32
@@ -750,7 +750,7 @@ func GetRunlabel(label string, runlabelImage string, ctx context.Context, runtim
return runLabel, imageName, err
}
-// GenerateRunlabelCommand generates the command that will eventually be execucted by podman.
+// GenerateRunlabelCommand generates the command that will eventually be execucted by Podman.
func GenerateRunlabelCommand(runLabel, imageName, name string, opts map[string]string, extraArgs []string, globalOpts string) ([]string, []string, error) {
// If no name is provided, we use the image's basename instead.
if name == "" {
@@ -809,7 +809,7 @@ func envSliceToMap(env []string) map[string]string {
return m
}
-// GenerateKube generates kubernetes yaml based on a pod or container
+// GenerateKube generates kubernetes yaml based on a pod or container.
func GenerateKube(name string, service bool, r *libpod.Runtime) (*v1.Pod, *v1.Service, error) {
var (
pod *libpod.Pod