From 96812dc490dbd00b0ec6280353a4e78ba79b44b8 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Fri, 23 Aug 2019 19:05:16 -0400 Subject: 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 --- pkg/util/mountOpts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/util') diff --git a/pkg/util/mountOpts.go b/pkg/util/mountOpts.go index 9e387ce95..670daeaf9 100644 --- a/pkg/util/mountOpts.go +++ b/pkg/util/mountOpts.go @@ -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. -- cgit v1.2.3-54-g00ecf