mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 13:05:27 +00:00
Don't do virSetConnError when virDrvSupportsFeature is successful.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
This commit is contained in:
parent
3514c8c375
commit
9ca731f66c
@ -1349,8 +1349,11 @@ virDrvSupportsFeature (virConnectPtr conn, int feature)
|
||||
}
|
||||
|
||||
ret = VIR_DRV_SUPPORTS_FEATURE (conn->driver, conn, feature);
|
||||
/* Copy to connection error object for back compatability */
|
||||
virSetConnError(conn);
|
||||
|
||||
if (ret < 0)
|
||||
/* Copy to connection error object for back compatability */
|
||||
virSetConnError(conn);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user