Kaydet (Commit) cd05d8d5 authored tarafından Joffrey F's avatar Joffrey F

Fix _post_json behavior

Signed-off-by: 's avatarJoffrey F <joffrey@docker.com>
üst 14d81d96
......@@ -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:
......
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