Skip to content

Commit f559aac

Browse files
committed
removed old pylint
1 parent e7cc973 commit f559aac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

services/director/src/simcore_service_director/docker_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ async def docker_client() -> AsyncIterator[aiodocker.docker.Docker]:
2020

2121

2222
async def swarm_get_number_nodes() -> int:
23-
async with docker_client() as client: # pylint: disable=not-async-context-manager
23+
async with docker_client() as client:
2424
nodes = await client.nodes.list()
2525
return len(nodes)
2626

2727

2828
async def swarm_has_manager_nodes() -> bool:
29-
async with docker_client() as client: # pylint: disable=not-async-context-manager
29+
async with docker_client() as client:
3030
nodes = await client.nodes.list(filters={"role": "manager"})
3131
return bool(nodes)
3232

3333

3434
async def swarm_has_worker_nodes() -> bool:
35-
async with docker_client() as client: # pylint: disable=not-async-context-manager
35+
async with docker_client() as client:
3636
nodes = await client.nodes.list(filters={"role": "worker"})
3737
return bool(nodes)

0 commit comments

Comments
 (0)