修改删除brick提示错误的bug。

web_backend_develope
chenlw 9 years ago
parent cc7749b749
commit 7a31b17c3b

@ -239,14 +239,13 @@ public class SetVolume {
log.info("删除命令执行完毕");
// 删除成功的返回信息是“volume remove-brick: success”
if (reStrings.get(0).contains("volume remove-brick: success")) {
if (reStrings.get(0).contains("success")) {
{
log.info("删除brick成功");
return 1;
}
} else {
log.error("3305 remove brick failed,please check the system");
return -5;
}

Loading…
Cancel
Save