]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Return 404 from delete of extra spec if not found
authorCian O'Driscoll <cian@hp.com>
Thu, 30 May 2013 13:00:54 +0000 (13:00 +0000)
committerCian O'Driscoll <cian@hp.com>
Thu, 30 May 2013 13:14:59 +0000 (13:14 +0000)
commitde84fd7b1539893bf48ed8b36db1bfdeaf05d7a9
tree5d14f9a584507ba659e4774f41f1c218d1c0d6a8
parent301d72cfaee0175be3d841e1afc95b4aa9dcd8ef
Return 404 from delete of extra spec if not found

API service now returns a 404 if the volume type that the
user is trying to delete doesn't exist.

Fixed Bug 1090306.

Change-Id: I3c1d4fdac1c2492f532ab4dbfd5c7aaf0ffa6fa4
cinder/api/contrib/types_extra_specs.py
cinder/db/sqlalchemy/api.py
cinder/tests/api/contrib/test_types_extra_specs.py