mirror of https://github.com/docker/docker-py.git
Merge pull request #2265 from lekster/master
set buildargs default value if None
This commit is contained in:
commit
565489e2d0
|
|
@ -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