mirror of https://github.com/docker/docker-py.git
set buildargs default value if None
Signed-off-by: Leks <alexsmir@list.ru>
This commit is contained in:
parent
24ace2dac8
commit
37e096f6ad
|
@ -121,6 +121,7 @@ class BuildApiMixin(object):
|
|||
remote = context = None
|
||||
headers = {}
|
||||
container_limits = container_limits or {}
|
||||
buildargs = buildargs or {}
|
||||
if path is None and fileobj is None:
|
||||
raise TypeError("Either path or fileobj needs to be provided.")
|
||||
if gzip and encoding is not None:
|
||||
|
|
Loading…
Reference in New Issue