mirror of https://github.com/docker/docker-py.git
Fix for #30 (Client#build tag param now works properly)
This commit is contained in:
parent
81b870f523
commit
96e8e55655
|
|
@ -227,7 +227,7 @@ class Client(requests.Session):
|
|||
context = self._tar(path)
|
||||
|
||||
u = self._url('/build')
|
||||
params = { 'tag': tag, 'remote': remote, 'q': quiet, 'nocache': nocache }
|
||||
params = { 't': tag, 'remote': remote, 'q': quiet, 'nocache': nocache }
|
||||
if context is not None:
|
||||
headers = { 'Content-Type': 'application/tar' }
|
||||
res = self._result(self.post(u, context, params=params,
|
||||
|
|
|
|||
Loading…
Reference in New Issue