1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 20:35:55 +00:00

Support CGroup v2 on Supervised with manual restarts (#5419)

This commit is contained in:
Mike Degatano
2024-12-09 09:09:54 -05:00
committed by GitHub
parent 1f893117cc
commit 829193fe84
8 changed files with 341 additions and 11 deletions

View File

@@ -26,7 +26,7 @@ async def test_evaluation(coresys: CoreSys):
coresys.docker.info.cgroup = CGROUP_V2_VERSION
await cgroup_version()
assert cgroup_version.reason in coresys.resolution.unsupported
assert cgroup_version.reason not in coresys.resolution.unsupported
coresys.resolution.unsupported.clear()
coresys.docker.info.cgroup = CGROUP_V1_VERSION