1
0
mirror of https://github.com/coreos/ignition.git synced 2026-02-05 15:47:26 +01:00
Files
ignition/internal/doc
yasminvalim 74ac98e5d4 internal/doc/main: Wrap inner loop to trigger defer
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)
```
2025-08-07 12:37:44 +02:00
..