mirror of
https://github.com/coreos/mantle.git
synced 2026-02-05 18:45:05 +01:00
There isn't anything we can do about the errors returned by Destroy(). All we ever do is log them, so lets not return the error and log it in the Destroy() functions instead. This also means we do not abort from cleanup code just because one section failed. This prevents one destruction failure from causing other resources to be leaked because we returned from Destory() early.