mirror of
https://github.com/containers/podman.git
synced 2025-10-17 11:14:40 +08:00
Fix addition of mount options when using RO tmpfs
For read-only containers set to create tmpfs filesystems over /run and other common destinations, we were incorrectly setting mount options, resulting in duplicate mount options. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
This commit is contained in:
@ -10,7 +10,7 @@ var (
|
||||
// ErrBadMntOption indicates that an invalid mount option was passed.
|
||||
ErrBadMntOption = errors.Errorf("invalid mount option")
|
||||
// ErrDupeMntOption indicates that a duplicate mount option was passed.
|
||||
ErrDupeMntOption = errors.Errorf("duplicate option passed")
|
||||
ErrDupeMntOption = errors.Errorf("duplicate mount option passed")
|
||||
)
|
||||
|
||||
// DefaultMountOptions sets default mount options for ProcessOptions.
|
||||
|
Reference in New Issue
Block a user