Merge pull request #1145 from jterry75/fix_typo

Fix typo in WithoutRunMount
This commit is contained in:
Lantao Liu 2019-05-12 23:55:06 -07:00 committed by GitHub
commit ebce49f0ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,9 +83,9 @@ func mergeGids(gids1, gids2 []uint32) []uint32 {
func WithoutRunMount(_ context.Context, _ oci.Client, c *containers.Container, s *runtimespec.Spec) error {
var (
mounts []runtimespec.Mount
currnet = s.Mounts
current = s.Mounts
)
for _, m := range currnet {
for _, m := range current {
if filepath.Clean(m.Destination) == "/run" {
continue
}