提交 e9f55e46 编写于 作者: E Eric Blake

Revert "virsh: Use old API if remote libvirtd does not support new"

This reverts commit 799912fa; now
that the rpc regression is fixed, virsh no longer needs the special
case here.
上级 4a075f7e
......@@ -1090,8 +1090,7 @@ cmdDomblkstat (vshControl *ctl, const vshCmd *cmd)
* then.
*/
if (rc < 0) {
if (last_error->code != VIR_ERR_NO_SUPPORT &&
last_error->code != VIR_ERR_RPC) {
if (last_error->code != VIR_ERR_NO_SUPPORT) {
virshReportError(ctl);
goto cleanup;
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册