mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
network: Do not call virNetworkObjUnsetDefTransient on start cleanup
The function networkShutdownNetwork already does that. Signed-off-by: Martin Kletzander <mkletzan@redhat.com> Reviewed-by: Laine Stump <laine@redhat.com>
This commit is contained in:
parent
97ed0574ea
commit
5988fdec91
@ -2387,7 +2387,6 @@ networkStartNetwork(virNetworkDriverState *driver,
|
||||
virErrorPtr save_err;
|
||||
|
||||
virErrorPreserveLast(&save_err);
|
||||
virNetworkObjUnsetDefTransient(obj);
|
||||
networkShutdownNetwork(driver, obj);
|
||||
virErrorRestore(&save_err);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user