Commit 51dd3d56 authored by k8s-merge-robot's avatar k8s-merge-robot Committed by GitHub

Merge pull request #27380 from rootfs/fix-nsenter-list

Automatic merge from submit-queue in nsenter mounter, read hosts PID 1 /proc/mounts to list the mounts fix #27378
parents a025e20f 8e67a308
......@@ -88,7 +88,7 @@ var _ = Interface(&NsenterMounter{})
const (
hostRootFsPath = "/rootfs"
hostProcMountsPath = "/rootfs/proc/mounts"
hostProcMountsPath = "/rootfs/proc/1/mounts"
nsenterPath = "nsenter"
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment