Add response from nova apigw delete flavor
1. What is the problem? right now FlavorManageController delete flavor has no response 2. What is the solution to the problem? add response from delete flavor Change-Id: Id04bb814d9bfd814ad261890a72649ee671ce380 Signed-off-by: zhangchi <zhangchi@szzt.com.cn> Co-Authored-By: tangzhuo <ztang@hnu.edu.cn>
This commit is contained in:
parent
bf3d738762
commit
eed5dcbc76
@ -97,7 +97,7 @@ class FlavorManageController(rest.RestController):
|
||||
except Exception:
|
||||
return utils.format_nova_error(500, _('Failed to delete flavor'))
|
||||
pecan.response.status = 202
|
||||
return
|
||||
return pecan.response
|
||||
|
||||
|
||||
class FlavorController(rest.RestController):
|
||||
|
Loading…
x
Reference in New Issue
Block a user