summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2022-01-20 15:19:32 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2022-01-20 15:19:32 +0100
commitc06dfa321714a9e40f6b315cb8b802fb523ccabd (patch)
tree7654b63519e404bc0b456928f3aed7c7ec34ce1c
parent923dc4c5f8d7239ac6fdfdf6c20e765f84754140 (diff)
[BUILD] Fix argument name for DockerDownloader class instantiation
Change-Id: Ie21ad508da894992a8202d71f8ac62374c609733 Issue-ID: OOM-2915 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
-rwxr-xr-xbuild/download/docker_downloader.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/download/docker_downloader.py b/build/download/docker_downloader.py
index 847bc180..c5f53cab 100755
--- a/build/download/docker_downloader.py
+++ b/build/download/docker_downloader.py
@@ -3,7 +3,7 @@
# COPYRIGHT NOTICE STARTS HERE
-# Copyright 2019 © Samsung Electronics Co., Ltd.
+# Copyright 2022 © Samsung Electronics Co., Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -43,7 +43,7 @@ class DockerDownloader(ConcurrentDownloader):
self._docker_client = docker.from_env(timeout=300)
except docker.errors.DockerException as err:
log.exception(
- 'Error creating docker client. Check if is docker installed and running'
+ 'Error creating docker client. Check if docker is installed and running'
' or if you have right permissions.')
raise err
self._pulled_images = set(itertools.chain.from_iterable((image.tags for image
@@ -220,7 +220,7 @@ def run_cli():
else:
logging.basicConfig(stream=sys.stdout, level=logging.INFO, format='%(message)s')
- downloader = DockerDownloader(args.save, [args.file_list, args.output_dir], workers=args.workers)
+ downloader = DockerDownloader(args.save, [args.image_list, args.output_dir], workers=args.workers)
if args.check:
log.info('Check mode. No download will be executed.')