Fix typo in WithoutRunMount

Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
This commit is contained in:
Justin Terry (VM) 2019-05-10 11:29:27 -07:00
parent e4ebb718c6
commit 8ba5c02f8f

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
}