Function "runPromote" is overly complex #1177
Labels
area/release-eng
Issues or PRs related to the Release Engineering subproject
kind/feature
Categorizes issue or PR as related to a new feature.
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
sig/release
Categorizes an issue or PR as relevant to SIG Release.
This function is overly complex
Link:
here
What would you like to be added:
It would be better to split it into smaller functions, as this is Go, not Python, and Go
encourages simpler, more readable code.
Why is this needed:
In Go when each function overly complex, for example is reached
15+
complexity, it can leading a bugsso by minimalist overly complex, it more better and can reusable
The text was updated successfully, but these errors were encountered: