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:
zhangchi 2018-11-30 10:19:33 +08:00
parent bf3d738762
commit eed5dcbc76
1 changed files with 1 additions and 1 deletions

View File

@ -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):