Remove unnecessary anonymous functions in defer statements #3298
Labels
good first issue
Good for newcomers
type: code hygiene
Clean up code but without changing functionality or interfaces
Summary
Throughout the codebase I've noticed several defer statements that are wrapped in an anonymous function, e.g. this one
can be changed to
For Admin Use
The text was updated successfully, but these errors were encountered: