Skip to content

Commit

Permalink
Update Comment
Browse files Browse the repository at this point in the history
- [+] chore(pr.go): update comment to reference issue kubernetes-sigs#1177 and clarify code readability concerns
  • Loading branch information
H0llyW00dzZ committed Jan 20, 2024
1 parent 2c817bf commit f3e8576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kpromo/cmd/pr/pr.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func init() {
}
}

// Another NOTE by @H0llyW00dzZ: This function is overly complex and difficult to read, both for humans and machines.
// Issue #1177: This function is overly complex and difficult to read, both for humans and machines.
// It would be better to split it into smaller functions, as this is Go, not Python, and Go
// encourages simpler, more readable code.
func runPromote(opts *promoteOptions) error {
Expand Down

0 comments on commit f3e8576

Please sign in to comment.