mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 14:30:12 +01:00
fix(readonly): honouring readonly flag.
Readonly flag does not come as mount option, it has separate field to mention readonly flag. ZFS-LocalPV driver should check that field and add "ro" as mountoption. Signed-off-by: Pawan <pawan@mayadata.io>
This commit is contained in:
parent
d47ec3ba01
commit
42ed7d85ee
2 changed files with 4 additions and 5 deletions
|
|
@ -57,10 +57,6 @@ type MountInfo struct {
|
|||
// on that node
|
||||
MountPath string `json:"mountPath"`
|
||||
|
||||
// ReadOnly specifies if the volume needs
|
||||
// to be mounted in ReadOnly mode
|
||||
ReadOnly bool `json:"readOnly"`
|
||||
|
||||
// MountOptions specifies the options with
|
||||
// which mount needs to be attempted
|
||||
MountOptions []string `json:"mountOptions"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue