docker-tools: Fix unused `--image` option
This commit is contained in:
parent
52d354f99e
commit
dec104aaf7
|
@ -55,7 +55,9 @@ def parse_args():
|
|||
argparser.add_argument(
|
||||
'--image',
|
||||
type=str,
|
||||
help='Use a specific Carla image. Default: "carla:latest"')
|
||||
help='Use a specific Carla image. Default: "carla:latest"',
|
||||
default='carla:latest',
|
||||
)
|
||||
args = argparser.parse_args()
|
||||
|
||||
if not args.output:
|
||||
|
@ -83,7 +85,7 @@ def parse_args():
|
|||
def main():
|
||||
|
||||
args = parse_args()
|
||||
carla_image_name = "carla:latest"
|
||||
carla_image_name = args.image
|
||||
inbox_assets_path = '/home/carla/carla/Import'
|
||||
client = docker.from_env()
|
||||
|
||||
|
|
Loading…
Reference in New Issue