]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove the redundant judgment for 'restore'
authorzhangyanzi <zhangyanzi@huawei.com>
Mon, 25 Nov 2013 11:13:52 +0000 (19:13 +0800)
committerzhangyanzi <zhangyanzi@huawei.com>
Tue, 26 Nov 2013 02:18:10 +0000 (10:18 +0800)
commit9d571d39d7370efd290c6139e74c4884c5f7edbe
tree4a4a39381de03908980c42a2f44aaccc63aa6bbc
parent0b71a3f0bd502f9637043aa3f21a6653d536b866
Remove the redundant judgment for 'restore'

In the function 'restore', there is redundant judgment for the body, it
should be removed.

Change-Id: Icfc5ae20141fad9d72de227cf5c06ca8504bd22c
Closes-Bug: 1254671
cinder/api/contrib/backups.py
cinder/tests/api/contrib/test_backups.py