commit | 4b974460836c7664c1324e6ec7bd7234546cfe75 | [log] [tgz] |
---|---|---|
author | jeremy.zhang <zhangjun_inspur@163.com> | Thu Aug 24 10:13:37 2017 +0800 |
committer | jeremy.zhang <zhangjun_inspur@163.com> | Thu Aug 24 10:13:37 2017 +0800 |
tree | b6da796d8c28d04d2a868526437e45d5e89d8e3b | |
parent | 45e600c375ed40d6f4be599f7e34893efbe12121 [diff] |
Fix for resetting volume status Reset volume status API is a volume action and its return code is 202, which means it is not a sync procedure. Although the API is mainly a DB operation and the volume status will be changed quickly, it is not stable to verify the volume status immediately after calling the API. It is more suitable to use 'waiters' function to wait for the volume status to be changed. Change-Id: I0421acd562821af268ca5b20e0424455d71da338