agent/taskresource/cgroup/cgroup.go
func (cgroup *CgroupResource) Create() error {
	err := cgroup.setupTaskCgroup()
	if err != nil {
		seelog.Criticalf("Cgroup resource [%s]: unable to setup cgroup root: %v", cgroup.taskARN, err)
		return err
	}
	return nil
}
func (cgroup *CgroupResource) Create() error {
	err := cgroup.setupTaskCgroup()
	if err != nil {
		seelog.Criticalf("Cgroup resource [%s]: unable to setup cgroup root: %v", cgroup.taskARN, err)
		return err
	}
	return nil
}
func ( cgroup * CgroupResource ) Create ( ) error { err := cgroup . setupTaskCgroup ( ) if err != nil { seelog . Criticalf ( " " , cgroup . taskARN , err ) return err } return nil }
// Create creates cgroup root for the task
Create creates cgroup root for the task