Rename cgroupsystemd.Manager to LegacyManager

This commit is contained in:
Odin Ugedal
2019-10-05 14:22:35 +02:00
parent 6e079bfb7d
commit b9cfb19321

View File

@@ -153,7 +153,7 @@ func (l *libcontainerAdapter) newManager(cgroups *libcontainerconfigs.Cgroup, pa
if !cgroupsystemd.UseSystemd() {
panic("systemd cgroup manager not available")
}
return &cgroupsystemd.Manager{
return &cgroupsystemd.LegacyManager{
Cgroups: cgroups,
Paths: paths,
}, nil