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:
Martin Kletzander 2024-09-02 09:26:54 +02:00
parent 97ed0574ea
commit 5988fdec91

View File

@ -2387,7 +2387,6 @@ networkStartNetwork(virNetworkDriverState *driver,
virErrorPtr save_err; virErrorPtr save_err;
virErrorPreserveLast(&save_err); virErrorPreserveLast(&save_err);
virNetworkObjUnsetDefTransient(obj);
networkShutdownNetwork(driver, obj); networkShutdownNetwork(driver, obj);
virErrorRestore(&save_err); virErrorRestore(&save_err);
} }