summaryrefslogtreecommitdiff
path: root/pkg/namespaces/namespaces.go
diff options
context:
space:
mode:
authorTomSweeneyRedHat <tsweeney@redhat.com>2020-07-23 19:27:33 -0400
committerMatthew Heon <matthew.heon@pm.me>2020-08-20 12:16:53 -0400
commita8a3325445fe2120896be997f74e426b36f11b9c (patch)
tree4649673dee7563996726b15206b60ada4d35367b /pkg/namespaces/namespaces.go
parenteff0c29098fe988327112c37884d57a7b244ac40 (diff)
downloadpodman-a8a3325445fe2120896be997f74e426b36f11b9c.tar.gz
podman-a8a3325445fe2120896be997f74e426b36f11b9c.tar.bz2
podman-a8a3325445fe2120896be997f74e426b36f11b9c.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/namespaces/namespaces.go')
-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 2ffbde977..c2f255530 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"
}