summaryrefslogtreecommitdiff
path: root/pkg/namespaces/namespaces.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-08-08 06:24:07 -0400
committerGitHub <noreply@github.com>2020-08-08 06:24:07 -0400
commit1298161ae47a77ba2666903a30ae080710b00f9c (patch)
tree5e94948917450a33a53875096b68685ad260d773 /pkg/namespaces/namespaces.go
parent51159e7b8325ed45c279d750741e6728e7cf1036 (diff)
parent5aaf6788f9c12a742de77782fb921570fcaa6d4d (diff)
downloadpodman-1298161ae47a77ba2666903a30ae080710b00f9c.tar.gz
podman-1298161ae47a77ba2666903a30ae080710b00f9c.tar.bz2
podman-1298161ae47a77ba2666903a30ae080710b00f9c.zip
Merge pull request #7075 from TomSweeneyRedHat/dev/tsweeney/runman
[CI:DOCS] BZ1860126 - Fix userns defaults in run man page
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 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"
}