diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-08-12 19:51:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-12 19:51:19 +0200 |
commit | 9bee6907a5d867ab866374c6c7d8a45e3fa705da (patch) | |
tree | cd7459863292ef18585e8015802fda2126f0ed9e /cmd | |
parent | ca7bae7f89bd1843ce47fca41403b99b8583168e (diff) | |
parent | 3132fdab06b12cb7ccb5077be92d3753c7da84e8 (diff) | |
download | podman-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.go | 6 |
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 |