Commit 87913b6
fix: check error return value of log file Close
Address errcheck lint failure by wrapping f.Close() in a
deferred closure that checks and logs the error.
Signed-off-by: Praveen M <m.praveen@ibm.com>1 parent 19466a5 commit 87913b6
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
129 | 133 | | |
130 | 134 | | |
131 | 135 | | |
| |||
0 commit comments