commit | 2856ad55665f43a2aba1a937df28d9c0ab6501b0 | [log] [tgz] |
---|---|---|
author | zhufl <zhu.fanglei@zte.com.cn> | Thu Mar 29 11:06:34 2018 +0800 |
committer | zhufl <zhu.fanglei@zte.com.cn> | Thu Mar 29 08:16:03 2018 +0000 |
tree | b669e557180fa0d2b7ecacc4e6b13354a475e0d4 | |
parent | 4bcf7e1002ca8468c713e0d4e4327bf91ad4ab61 [diff] |
Fix image_id KeyError in test_create_backup image_id is added to the result of create_backup, but it's not added in the header, it's added in body instead, so we can't get image_id from resp.response, otherwise it will raise "KeyError: 'image_id'". This is to fix it. Ref: https://developer.openstack.org/api-ref/compute/#create-server-back-up-createbackup-action Implements blueprint: clear-deprecated-api Change-Id: If924bc417c24e5bcc18577d20023f277653d7dd3