mirror of
https://github.com/containers/podman.git
synced 2026-01-18 02:48:32 -05:00
It really does not make sense to call RemoveConnection() twice and then update the config file a third time in updateDefaultMachineinConfig(). This results in unnecessary reads/writes and more code. Simplyfy this into one function that is only called once and do all updates at once. [NO NEW TESTS NEEDED] Signed-off-by: Paul Holzinger <pholzing@redhat.com>