aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorTomSweeneyRedHat <tsweeney@redhat.com>2020-07-23 19:27:33 -0400
committerTomSweeneyRedHat <tsweeney@redhat.com>2020-08-07 15:42:13 -0400
commit5aaf6788f9c12a742de77782fb921570fcaa6d4d (patch)
tree5e94948917450a33a53875096b68685ad260d773 /pkg
parent51159e7b8325ed45c279d750741e6728e7cf1036 (diff)
downloadpodman-5aaf6788f9c12a742de77782fb921570fcaa6d4d.tar.gz
podman-5aaf6788f9c12a742de77782fb921570fcaa6d4d.tar.bz2
podman-5aaf6788f9c12a742de77782fb921570fcaa6d4d.zip
[CI:DOCS] BZ1860126 - Fix userns defaults in run man page
Addresses the multiple "default" userns values found in the podman-run(1) man page: http://docs.podman.io/en/latest/markdown/podman-run.1.html. This in response to: https://bugzilla.redhat.com/show_bug.cgi?id=1860126 which this PR wil fix. Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/namespaces/namespaces.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/namespaces/namespaces.go b/pkg/namespaces/namespaces.go
index 7831af8f9..c35f68e02 100644
--- a/pkg/namespaces/namespaces.go
+++ b/pkg/namespaces/namespaces.go
@@ -91,7 +91,7 @@ func (n UsernsMode) IsHost() bool {
return n == hostType
}
-// IsKeepID indicates whether container uses a mapping where the (uid, gid) on the host is lept inside of the namespace.
+// IsKeepID indicates whether container uses a mapping where the (uid, gid) on the host is kept inside of the namespace.
func (n UsernsMode) IsKeepID() bool {
return n == "keep-id"
}