mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-26 05:14:13 +01:00
This commit adds checks to only allow valid resource names for the thresholds field, which are "cpu", "memory", and "pods" right now. For the other valid or invalid resource names, descheduler will now throw an error. Also, tests have been added to test the added behavior. fix #40