Enable nestif linter
What does this MR do?
Enables the nestif
(nested if
s) linter in .golangci.yml
and fixes reported issues.
Why was this MR needed?
See #25885 (closed)
Are there points in the code the reviewer needs to double check?
Does this MR meet the acceptance criteria?
-
Documentation created/updated -
Added tests for this feature/bug -
In case of conflicts with master
- branch was rebased
What are the relevant issue numbers?
Closes #25885 (closed)