backend: Refactor portforward/handler_test.go TestStartPortForward to be shorter #3280
Labels
backend
Issues related to the backend
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
portforward
This function needs to be shorter to reduce the complexity of it, and make it easier to understand.
Currently the code turns off the linter for this issue with "//nolint:funlen".
make backend-lint
make backend-test
Related umbrella backend refactoring clean up issue #855 (other pieces of code have the linter disabled and could also be fixed up, feel free to refactor a different function.) If you've already refactored one function, please leave the rest for others.
The text was updated successfully, but these errors were encountered: