Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shorten UpdateNodeLabelsAndRecordEvents function in nmc_reconciler.go
Today, the UpdateNodeLabelsAndRecordEvents function has around 100 lines of code. This commit aims to enhance its readability and maintainability by using helper functions, thereby reducing its total length. Additionally, adding unit tests that covers the new helper functions.
- Loading branch information