mirror of
https://github.com/coreos/ignition.git
synced 2026-02-05 15:47:26 +01:00
Wrap the inner loop code in an anonymous function to make sure that defer calls are triggered for each iteration of the loop and join all errors as needed. Diff best viewed with whitespace changes hidden. Fixes lint: ``` Error return value of `f.Close` is not checked (errcheck) ```