update go version, deps for runc v1.0.0-rc92
This commit is contained in:
+1
-1
@@ -247,7 +247,7 @@ func (cm *Runc) All() (containers container.Containers) {
|
||||
func getFactory(opts RuncOpts) (libcontainer.Factory, error) {
|
||||
cgroupManager := libcontainer.Cgroupfs
|
||||
if opts.systemdCgroups {
|
||||
if systemd.UseSystemd() {
|
||||
if systemd.IsRunningSystemd() {
|
||||
cgroupManager = libcontainer.SystemdCgroups
|
||||
} else {
|
||||
return nil, fmt.Errorf("systemd cgroup enabled, but systemd support for managing cgroups is not available")
|
||||
|
||||
Reference in New Issue
Block a user