mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 07:59:00 +00:00
Revert "virsh: Use old API if remote libvirtd does not support new"
This reverts commit 799912fa05b8c3aa37bd04c57b196755f3f70552; now that the rpc regression is fixed, virsh no longer needs the special case here.
This commit is contained in:
parent
4a075f7e7f
commit
e9f55e4688
@ -1090,8 +1090,7 @@ cmdDomblkstat (vshControl *ctl, const vshCmd *cmd)
|
|||||||
* then.
|
* then.
|
||||||
*/
|
*/
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
if (last_error->code != VIR_ERR_NO_SUPPORT &&
|
if (last_error->code != VIR_ERR_NO_SUPPORT) {
|
||||||
last_error->code != VIR_ERR_RPC) {
|
|
||||||
virshReportError(ctl);
|
virshReportError(ctl);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user