fix(hub): fix hub config wiring and volume expansion in client

This commit is contained in:
AFredefon committed 2026-02-25 23:54:15 +01:00
1 parent f3899279d5
commit 6cd8fd3cf5
4 files changed
+118 -4

No files matched your search

@@ -13,6 +13,7 @@ from __future__ import annotations
import asyncio
import json
import os
import subprocess
from contextlib import asynccontextmanager
from typing import TYPE_CHECKING, Any, cast
@@ -242,7 +243,7 @@ class HubClient:
# Add volumes
for volume in config.volumes:
cmd.extend(["-v", volume])
cmd.extend(["-v", os.path.expanduser(volume)])
# Add environment variables
for key, value in config.environment.items():