Merge pull request #1736 from allencloud/fix-lint-warning

fix lint error in specconv
This commit is contained in:
Michael Crosby 2018-02-26 14:21:26 -05:00 committed by GitHub
commit 8aca07289d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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