volume是started状态的删除失败,删除前先stop,如果volume已经是stop状态,则返回0

web_backend_develope
chenlw 9 years ago
parent 86db77dd5c
commit a2b6affc16

@ -43,7 +43,7 @@ public class VolumeController extends BaseController{
@ResponseBody
public void volumeDelete(HttpServletRequest res, HttpServletResponse req,
@RequestBody VolumeEntity entity) throws Exception {
Configs.CONSOLE_LOGGER.error("/oracle/{name}/extract");
Configs.CONSOLE_LOGGER.error("/oracle/delete");
volumeService.delete(entity);
req.setStatus(200);
new ThreadVolumeImm("ThreadVolumeImm-in-VolumeController-delete").start();

Loading…
Cancel
Save