Merge pull request #115704 from AkihiroSuda/cri-rprivate

cri-api: fix comment lines about PROPAGATION_PRIVATE
This commit is contained in:
Kubernetes Prow Robot 2023-05-09 13:31:54 -07:00 committed by GitHub
commit 4c45313c3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ func (Protocol) EnumDescriptor() ([]byte, []int) {
type MountPropagation int32
const (
// No mount propagation ("private" in Linux terminology).
// No mount propagation ("rprivate" in Linux terminology).
MountPropagation_PROPAGATION_PRIVATE MountPropagation = 0
// Mounts get propagated from the host to the container ("rslave" in Linux).
MountPropagation_PROPAGATION_HOST_TO_CONTAINER MountPropagation = 1

View File

@ -199,7 +199,7 @@ message PortMapping {
}
enum MountPropagation {
// No mount propagation ("private" in Linux terminology).
// No mount propagation ("rprivate" in Linux terminology).
PROPAGATION_PRIVATE = 0;
// Mounts get propagated from the host to the container ("rslave" in Linux).
PROPAGATION_HOST_TO_CONTAINER = 1;