mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-17 07:39:22 +00:00
Merge pull request #115704 from AkihiroSuda/cri-rprivate
cri-api: fix comment lines about PROPAGATION_PRIVATE
This commit is contained in:
commit
4c45313c3f
@ -77,7 +77,7 @@ func (Protocol) EnumDescriptor() ([]byte, []int) {
|
|||||||
type MountPropagation int32
|
type MountPropagation int32
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// No mount propagation ("private" in Linux terminology).
|
// No mount propagation ("rprivate" in Linux terminology).
|
||||||
MountPropagation_PROPAGATION_PRIVATE MountPropagation = 0
|
MountPropagation_PROPAGATION_PRIVATE MountPropagation = 0
|
||||||
// Mounts get propagated from the host to the container ("rslave" in Linux).
|
// Mounts get propagated from the host to the container ("rslave" in Linux).
|
||||||
MountPropagation_PROPAGATION_HOST_TO_CONTAINER MountPropagation = 1
|
MountPropagation_PROPAGATION_HOST_TO_CONTAINER MountPropagation = 1
|
||||||
|
@ -199,7 +199,7 @@ message PortMapping {
|
|||||||
}
|
}
|
||||||
|
|
||||||
enum MountPropagation {
|
enum MountPropagation {
|
||||||
// No mount propagation ("private" in Linux terminology).
|
// No mount propagation ("rprivate" in Linux terminology).
|
||||||
PROPAGATION_PRIVATE = 0;
|
PROPAGATION_PRIVATE = 0;
|
||||||
// Mounts get propagated from the host to the container ("rslave" in Linux).
|
// Mounts get propagated from the host to the container ("rslave" in Linux).
|
||||||
PROPAGATION_HOST_TO_CONTAINER = 1;
|
PROPAGATION_HOST_TO_CONTAINER = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user