mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-09 12:38:27 -05:00
Fix test driver domain restore return value.
This commit is contained in:
+1
-1
@@ -1337,7 +1337,7 @@ static int testDomainRestore(virConnectPtr conn,
|
||||
event = virDomainEventNewFromObj(dom,
|
||||
VIR_DOMAIN_EVENT_STARTED,
|
||||
VIR_DOMAIN_EVENT_STARTED_RESTORED);
|
||||
ret = dom->def->id;
|
||||
ret = 0;
|
||||
|
||||
cleanup:
|
||||
virDomainDefFree(def);
|
||||
|
||||
Reference in New Issue
Block a user