summaryrefslogtreecommitdiff
path: root/libpod/options.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-07-08 18:00:11 +0200
committerGitHub <noreply@github.com>2019-07-08 18:00:11 +0200
commited3acaecbfeead3b0fef5928e47ecc9f34cd8d5b (patch)
tree2ef0f0a0c9f3c2cd8798dee04de8c3d5ab292c36 /libpod/options.go
parent1055b22e9b900e5f4d41f39b506de4f2d1aa2f8e (diff)
parent1d36501f961889f554daf3c696fe95443ef211b6 (diff)
downloadpodman-ed3acaecbfeead3b0fef5928e47ecc9f34cd8d5b.tar.gz
podman-ed3acaecbfeead3b0fef5928e47ecc9f34cd8d5b.tar.bz2
podman-ed3acaecbfeead3b0fef5928e47ecc9f34cd8d5b.zip
Merge pull request #3496 from baude/golandcodeinspect
code cleanup
Diffstat (limited to 'libpod/options.go')
-rw-r--r--libpod/options.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/options.go b/libpod/options.go
index 78634e953..4f8bb42df 100644
--- a/libpod/options.go
+++ b/libpod/options.go
@@ -325,7 +325,7 @@ func WithMaxLogSize(limit int64) RuntimeOption {
// WithNoPivotRoot sets the runtime to use MS_MOVE instead of PIVOT_ROOT when
// starting containers.
-func WithNoPivotRoot(noPivot bool) RuntimeOption {
+func WithNoPivotRoot() RuntimeOption {
return func(rt *Runtime) error {
if rt.valid {
return config2.ErrRuntimeFinalized