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-21 16:47:08 +0100
commit1ef55945325ffb80ee76d9421833ce3a918198d1 (patch)
tree7131fc3f7a6ce9dcd68efc41915ddce39a18c015
parent389a022a25bc3ddf7198daf424a99e121d24878b (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.')