1
0
mirror of https://github.com/coreos/ignition.git synced 2026-02-06 00:47:49 +01:00
Files
ignition/tests
yasminvalim 33caaa0d9b tests/filesystem: Wrap inner loop code 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 `writer.Flush` is not checked (errcheck)
```
2025-08-07 12:37:43 +02:00
..