Multiple check funcs' checkResourceLimits, checkResourceRequests and checkMissingResources are very similar, this makes the code hard to understand and difficult to change.
Proposed Statement:
Combine functions, use slices, move code to internal container for logical grouping. This will improve code structure and make it easier to maintain.
Problem Statement:
Multiple check funcs' checkResourceLimits, checkResourceRequests and checkMissingResources are very similar, this makes the code hard to understand and difficult to change.
Proposed Statement:
Combine functions, use slices, move code to internal container for logical grouping. This will improve code structure and make it easier to maintain.