agent/taskresource/cgroup/cgroup.go
func (cgroup *CgroupResource) GetDesiredStatus() resourcestatus.ResourceStatus {
	cgroup.lock.RLock()
	defer cgroup.lock.RUnlock()

	return cgroup.desiredStatusUnsafe
}
func (cgroup *CgroupResource) GetDesiredStatus() resourcestatus.ResourceStatus {
	cgroup.lock.RLock()
	defer cgroup.lock.RUnlock()

	return cgroup.desiredStatusUnsafe
}
func ( cgroup * CgroupResource ) GetDesiredStatus ( ) resourcestatus . ResourceStatus { cgroup . lock . RLock ( ) defer cgroup . lock . RUnlock ( ) return cgroup . desiredStatusUnsafe }
// GetDesiredStatus safely returns the desired status of the task
GetDesiredStatus safely returns the desired status of the task