From 3f32e7296346b7d4a36eb5a86f2ca7dcf8806341 Mon Sep 17 00:00:00 2001 From: Allen Sun Date: Sat, 24 Feb 2018 05:56:38 +0800 Subject: [PATCH] fix lint error in specconv Signed-off-by: Allen Sun --- libcontainer/specconv/example.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libcontainer/specconv/example.go b/libcontainer/specconv/example.go index 46c5640e4..c113b337f 100644 --- a/libcontainer/specconv/example.go +++ b/libcontainer/specconv/example.go @@ -155,9 +155,9 @@ func Example() *specs.Spec { } } -// ExampleRootless returns an example spec file that works with rootless -// containers. It's essentially a modified version of the specfile from -// Example(). +// ToRootless converts the given spec file into one that should work with +// rootless containers, by removing incompatible options and adding others that +// are needed. func ToRootless(spec *specs.Spec) { var namespaces []specs.LinuxNamespace