update build ldflags to permit multiple runc dep versions

This commit is contained in:
Bradley Cicenas
2017-06-09 18:18:11 +00:00
parent e8d9f3327c
commit 4dbc5653ff
4 changed files with 5 additions and 3 deletions

View File

@@ -218,7 +218,7 @@ func getFactory(opts RuncOpts) (libcontainer.Factory, error) {
return nil, fmt.Errorf("systemd cgroup enabled, but systemd support for managing cgroups is not available")
}
}
return libcontainer.New(opts.root, cgroupManager, libcontainer.CriuPath("criu"))
return libcontainer.New(opts.root, cgroupManager)
}
func runcFailOnErr(err error) {