Skip to content

Commit 41767bb

Browse files
use load_or_build (#273)
1 parent 4f154ab commit 41767bb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/roswire/roswire.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ def launch(self,
9292
image: str,
9393
description: Optional[SystemDescription] = None
9494
) -> Iterator[System]:
95-
"""
96-
Launches a ROS application using a provided Docker image.
95+
"""Launches a ROS application using a provided Docker image.
9796
9897
Parameters
9998
----------
@@ -105,7 +104,7 @@ def launch(self,
105104
from the cache or else build one.
106105
"""
107106
if not description:
108-
description = self.descriptions.build(image)
107+
description = self.descriptions.load_or_build(image)
109108
with self.containers.launch(image) as container:
110109
container = container
111110
yield System(container, description)

0 commit comments

Comments
 (0)