Skip to content

Commit 3f32e72

Browse files
committed
fix lint error in specconv
Signed-off-by: Allen Sun <[email protected]>
1 parent ab4a819 commit 3f32e72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libcontainer/specconv/example.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ func Example() *specs.Spec {
155155
}
156156
}
157157

158-
// ExampleRootless returns an example spec file that works with rootless
159-
// containers. It's essentially a modified version of the specfile from
160-
// Example().
158+
// ToRootless converts the given spec file into one that should work with
159+
// rootless containers, by removing incompatible options and adding others that
160+
// are needed.
161161
func ToRootless(spec *specs.Spec) {
162162
var namespaces []specs.LinuxNamespace
163163

0 commit comments

Comments
 (0)