Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Go 1.21 introduced standard min and max builtin functions.
We should remove the following functions:
- MaxQuantity (resources)
- MinQuantity (resources)
- min (ring buffer)
- Min (common utils)
Replace with min and max builtin functions.
NOTE: this requires a go directive change in the go.mod file to move to 1.21 as the minimum version. This needs to be coordinates for the different repos.