mirror of
https://github.com/containers/podman.git
synced 2025-10-17 03:04:21 +08:00
specgen: fix comment
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@ -20,7 +20,7 @@ const (
|
|||||||
pastaType = "pasta"
|
pastaType = "pasta"
|
||||||
)
|
)
|
||||||
|
|
||||||
// KeepIDUserNsOptions defines how to keepIDmatically create a user namespace.
|
// KeepIDUserNsOptions defines how to create a user namespace using keep-id.
|
||||||
type KeepIDUserNsOptions struct {
|
type KeepIDUserNsOptions struct {
|
||||||
// UID is the target uid in the user namespace.
|
// UID is the target uid in the user namespace.
|
||||||
UID *uint32
|
UID *uint32
|
||||||
|
@ -56,7 +56,7 @@ const (
|
|||||||
// Pasta indicates that a pasta network stack should be used.
|
// Pasta indicates that a pasta network stack should be used.
|
||||||
// Only used with the network namespace, invalid otherwise.
|
// Only used with the network namespace, invalid otherwise.
|
||||||
Pasta NamespaceMode = "pasta"
|
Pasta NamespaceMode = "pasta"
|
||||||
// KeepId indicates a user namespace to keep the owner uid inside
|
// KeepID indicates a user namespace to keep the owner uid inside
|
||||||
// of the namespace itself.
|
// of the namespace itself.
|
||||||
// Only used with the user namespace, invalid otherwise.
|
// Only used with the user namespace, invalid otherwise.
|
||||||
KeepID NamespaceMode = "keep-id"
|
KeepID NamespaceMode = "keep-id"
|
||||||
|
Reference in New Issue
Block a user