Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libcontainer: intelrdt: fix a GetStats() issue
This fixes a GetStats() issue introduced in opencontainers#1590: If Intel RDT is enabled by hardware and kernel, but intelRdt is not specified in original config, GetStats() will return error unexpectedly because we haven't called Apply() to create intelrdt group or attach tasks for this container. As a result, runc events command will have no output. Signed-off-by: Xiaochen Shen <xiaochen.shen@intel.com>
- Loading branch information