Merge pull request #2265 from lekster/master

set buildargs default value if None
This commit is contained in:
Joffrey F 2019-03-23 13:44:30 -07:00 committed by GitHub
commit 565489e2d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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: