func (c *control) Init() error {
	seelog.Infof("Creating root ecs cgroup: %s", config.DefaultTaskCgroupPrefix)

	// Build cgroup spec
	cgroupSpec := &Spec{
		Root:  config.DefaultTaskCgroupPrefix,
		Specs: &specs.LinuxResources{},
	}
	_, err := c.Create(cgroupSpec)
	return err
}
func (c *control) Init() error {
	seelog.Infof("Creating root ecs cgroup: %s", config.DefaultTaskCgroupPrefix)

	
	cgroupSpec := &Spec{
		Root:  config.DefaultTaskCgroupPrefix,
		Specs: &specs.LinuxResources{},
	}
	_, err := c.Create(cgroupSpec)
	return err
}
func ( c * control ) Init ( ) error { seelog . Infof ( " " , config . DefaultTaskCgroupPrefix ) // Build cgroup spec cgroupSpec := & Spec { Root : config . DefaultTaskCgroupPrefix , Specs : & specs . LinuxResources { } , } _ , err := c . Create ( cgroupSpec ) return err }
// Init is used to setup the cgroup root for ecs
Init is used to setup the cgroup root for ecs