!8 change default cgroup path

Merge pull request !8 from zhangsong234/master
This commit is contained in:
openeuler-ci-bot 2020-02-24 11:31:45 +08:00 committed by Gitee
commit 5cb92da24f
2 changed files with 3 additions and 3 deletions

View File

@ -151,8 +151,8 @@ func (c *Container) GetCgroupPath() (string, error) {
cgroupPath = cgroupPath[1 : len(cgroupPath)-1]
}
if cgroupPath == "" {
// by default, the cgroup path is "/lxc/<id>"
cgroupPath = "/lxc"
// by default, the cgroup path is "/isulad/<id>"
cgroupPath = "/isulad"
}
cgroupPath = filepath.Join(cgroupPath, c.containerID)
return cgroupPath, nil

View File

@ -4,7 +4,7 @@
#Basic Information
Name: syscontainer-tools
Version: v0.9
Release: 35
Release: 36
Summary: syscontainer tools for IT, work with iSulad
License: Mulan PSL v1
URL: https://gitee.com/src-openeuler/syscontainer-tools