Skip to content

Commit 2c5aaa2

Browse files
0xDVCHonny1
andauthored
Update namespaces.go
Co-authored-by: Jan Rodák <hony.com@seznam.cz> Signed-off-by: N E I L O H E N E <54632119+0xDVC@users.noreply.github.com>
1 parent 36709ee commit 2c5aaa2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pkg/specgen/generate/namespaces.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,7 @@ func namespaceOptions(s *specgen.SpecGenerator, rt *libpod.Runtime, pod *libpod.
268268
return nil, fmt.Errorf("looking up container to share user namespace with: %w", err)
269269
}
270270
toReturn = append(toReturn, libpod.WithUserNSFrom(userCtr))
271-
case specgen.Private:
272-
case specgen.Auto:
273-
case specgen.NoMap:
274-
case specgen.Path:
271+
case specgen.Private, specgen.Auto, specgen.NoMap, specgen.Path:
275272
}
276273

277274
// This wipes the UserNS settings that get set from the infra container

0 commit comments

Comments
 (0)