Fixing incorrect parameter in Image Service API v2
For uploading binary image data the correct pararmeter is --data-binary Closes-Bug: #1618897 Change-Id: I8e94ec7965356c0817b4d3add3c2e564fa5e8d09
This commit is contained in:
parent
3eb9d150b6
commit
d6055bca77
@ -85,7 +85,7 @@ Upload binary image data
|
||||
|
||||
$ curl -i -X PUT -H "X-Auth-Token: $OS_AUTH_TOKEN" \
|
||||
-H "Content-Type: application/octet-stream" \
|
||||
-d @/home/glance/ubuntu-14.04.qcow2 \
|
||||
--data-binary @/home/glance/ubuntu-14.04.qcow2 \
|
||||
$OS_IMAGE_URL/v2/images/7b97f37c-899d-44e8-aaa0-543edbc4eaad/file
|
||||
|
||||
HTTP/1.1 100 Continue
|
||||
|
Loading…
Reference in New Issue
Block a user