fix: Some logging
This commit is contained in:
parent
24cc2c0239
commit
092a791cc0
1 changed files with 5 additions and 2 deletions
|
|
@ -15,5 +15,8 @@ class DockerService:
|
||||||
self._client = DockerClient()
|
self._client = DockerClient()
|
||||||
|
|
||||||
def reload(self, compose_path: Path):
|
def reload(self, compose_path: Path):
|
||||||
containers = self._client.compose.ps()
|
projects = self._client.compose.ps()
|
||||||
logger.info(f"Found {len(containers)} containers")
|
logger.info(f"Found {len(projects)} projects")
|
||||||
|
from python_on_whales.components.compose.models import ComposeProject
|
||||||
|
for project in projects:
|
||||||
|
logger.info(f"Found project {project}")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue