mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-19 16:05:11 +00:00
rebased and updated to latest
This commit is contained in:
@@ -62,7 +62,11 @@ func diskSetUp(manager diskManager, b rbdBuilder, volPath string, mounter mount.
|
||||
}
|
||||
// Perform a bind mount to the full path to allow duplicate mounts of the same disk.
|
||||
options := []string{"bind"}
|
||||
<<<<<<< HEAD
|
||||
if b.ReadOnly {
|
||||
=======
|
||||
if disk.readOnly {
|
||||
>>>>>>> rebased and updated to latest
|
||||
options = append(options, "ro")
|
||||
}
|
||||
err = mounter.Mount(globalPDPath, volPath, "", options)
|
||||
|
||||
Reference in New Issue
Block a user