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

Remove the option to revert to overlay2 driver (#6399)

OS Agent will no longer support migrating to the overlay2 driver due to reasons
explained in home-assistant/os-agent#245. Remove it from the Docker API as
well.
This commit is contained in:
Jan Čermák
2025-12-05 14:45:56 +01:00
committed by GitHub
parent 5d02b09a0d
commit cd4e7f2530
3 changed files with 3 additions and 12 deletions

View File

@@ -118,15 +118,6 @@ async def test_api_migrate_docker_storage_driver(
in coresys.resolution.suggestions
)
# Test migration back to overlay2 (graph driver)
system_service.MigrateDockerStorageDriver.calls.clear()
resp = await api_client.post(
"/docker/migrate-storage-driver",
json={"storage_driver": "overlay2"},
)
assert resp.status == 200
assert system_service.MigrateDockerStorageDriver.calls == [("overlay2",)]
@pytest.mark.parametrize("os_available", ["17.0.rc1"], indirect=True)
async def test_api_migrate_docker_storage_driver_invalid_backend(