Skip to content

backend: Refactor portforward/handler_test.go TestStartPortForward to be shorter #3280

Closed
@illume

Description

@illume

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".



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.

Metadata

Metadata

Assignees

Labels

backendIssues related to the backendgood first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.portforward

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions