qingstor / qsctl

Advanced command line tool for QingStor Object Storage.
Apache License 2.0
24 stars 13 forks source link

failed to download object but exit code is 0 #2

Closed wangzw closed 7 years ago

wangzw commented 8 years ago
(py27) wangzw:qsctl wangzw$ qsctl cp  qs://hashdata-test/not-exist /tmp/
{"url": "http://docs.qingcloud.com/qingstor/api/common/error_code.html", "message": "The object you are accessing does not exist.", "code": "object_not_exists", "request_id": "fc6b0c3687ea11e6b41a52540443ed8a"}
(py27) wangzw:qsctl wangzw$ echo $?
0
pengsrc commented 8 years ago

Thanks for reporting this, we will fix it later.

Xuanwo commented 7 years ago

Fixed in https://github.com/yunify/qsctl/commit/0afd37e1e311c1a61e665b138cfc4e4136aff671.