mirror of
https://github.com/containers/netavark.git
synced 2026-02-06 00:44:59 +01:00
When aardvark-dns error out at the end we already configured interfaces
+ firewall rules for the driver but because we return a error podman
considers this a failure and teardown is never called.
Netavark should always cleanup on its own. So on errors make sure to
tear down the drivers again.
Fixes #1121
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
(cherry picked from commit 73e9911804)