Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix alignment of cgroups info #157

Merged
merged 1 commit into from
Jul 23, 2021
Merged

Fix alignment of cgroups info #157

merged 1 commit into from
Jul 23, 2021

Conversation

Furisto
Copy link
Collaborator

@Furisto Furisto commented Jul 22, 2021

The format directive does not work when the type is not a string.
Before:

cgroup mounts
  blkio/sys/fs/cgroup/blkio
  cpu/sys/fs/cgroup/cpu,cpuacct
  cpuacct/sys/fs/cgroup/cpu,cpuacct
  cpuset/sys/fs/cgroup/cpuset
  devices/sys/fs/cgroup/devices
  freezer/sys/fs/cgroup/freezer
  hugetlb/sys/fs/cgroup/hugetlb
  memory/sys/fs/cgroup/memory
  net_cls/sys/fs/cgroup/net_cls,net_prio
  net_prio/sys/fs/cgroup/net_cls,net_prio
  pids/sys/fs/cgroup/pids
  unified         /sys/fs/cgroup/unified

After

cgroup mounts
  blkio           /sys/fs/cgroup/blkio
  cpu             /sys/fs/cgroup/cpu,cpuacct
  cpuacct         /sys/fs/cgroup/cpu,cpuacct
  cpuset          /sys/fs/cgroup/cpuset
  devices         /sys/fs/cgroup/devices
  freezer         /sys/fs/cgroup/freezer
  hugetlb         /sys/fs/cgroup/hugetlb
  memory          /sys/fs/cgroup/memory
  net_cls         /sys/fs/cgroup/net_cls,net_prio
  net_prio        /sys/fs/cgroup/net_cls,net_prio
  pids            /sys/fs/cgroup/pids
  unified         /sys/fs/cgroup/unified

@utam0k utam0k merged commit 4d8ce27 into youki-dev:main Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants