libpod: Factor out cgroups handling from (*Pod).refresh

This moves the cgroup code to pod_internal_linux.go and adds a no-op
stub for FreeBSD.

[NO NEW TESTS NEEDED]

Signed-off-by: Doug Rabson <dfr@rabson.org>
This commit is contained in:
Doug Rabson
2022-09-29 18:11:30 +01:00
parent d33a31524a
commit e187b9711d
3 changed files with 41 additions and 22 deletions

View File

@ -0,0 +1,5 @@
package libpod
func (p *Pod) platformRefresh() error {
return nil
}