Skip to content

backend: Refactor headlamp.go createHeadlampHandler to be shorter #3273

@illume

Description

@illume
Contributor

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.

Activity

added
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.
backendIssues related to the backend
qualityRelated to improving the quality of the app
on May 18, 2025
goyalg325

goyalg325 commented on May 18, 2025

@goyalg325

Hi @illume,
Could you please assign this issue to me? I'd like to work on it.
Thank you!

AyushSriv06

AyushSriv06 commented on May 19, 2025

@AyushSriv06
Contributor

@goyalg325 are you still working on the issue?

goyalg325

goyalg325 commented on May 19, 2025

@goyalg325

Yes!

added a commit that references this issue on May 19, 2025
ca6f445
Darshit42

Darshit42 commented on May 27, 2025

@Darshit42

is this issue still open?

SinghaAnirban005

SinghaAnirban005 commented on May 29, 2025

@SinghaAnirban005
Contributor

@goyalg325 if you aren't currently working on the issue
I would love to go ahead with this
Thank you

7908837174

7908837174 commented on May 29, 2025

@7908837174
added a commit that references this issue on May 30, 2025
0314b54

8 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

backendIssues related to the backendgood first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.qualityRelated to improving the quality of the app

Type

No type

Projects

Status

Queued

Milestone

No milestone

Relationships

None yet

    Participants

    @illume@skoeva@goyalg325@AyushSriv06@SinghaAnirban005

    Issue actions

      backend: Refactor headlamp.go createHeadlampHandler to be shorter · Issue #3273 · kubernetes-sigs/headlamp