Kaydet (Commit) 37e096f6 authored tarafından Leks's avatar Leks

set buildargs default value if None

Signed-off-by: 's avatarLeks <alexsmir@list.ru>
üst 24ace2da
...@@ -121,6 +121,7 @@ class BuildApiMixin(object): ...@@ -121,6 +121,7 @@ class BuildApiMixin(object):
remote = context = None remote = context = None
headers = {} headers = {}
container_limits = container_limits or {} container_limits = container_limits or {}
buildargs = buildargs or {}
if path is None and fileobj is None: if path is None and fileobj is None:
raise TypeError("Either path or fileobj needs to be provided.") raise TypeError("Either path or fileobj needs to be provided.")
if gzip and encoding is not None: if gzip and encoding is not None:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment