mirror of https://github.com/docker/docker-py.git
Fix _post_json behavior
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
14d81d96c1
commit
cd05d8d53d
|
|
@ -231,7 +231,7 @@ class APIClient(
|
|||
for k, v in six.iteritems(data):
|
||||
if v is not None:
|
||||
data2[k] = v
|
||||
else:
|
||||
elif data is not None:
|
||||
data2 = data
|
||||
|
||||
if 'headers' not in kwargs:
|
||||
|
|
|
|||
Loading…
Reference in New Issue