The kubernetes ResourceList has helper functions that return a 0 value even if the ResourceList value is "not set". So "nil" checks for ResourceList are really useless. This PR removes the usage of helper functions and uses underlying maps directly to determine whether the value is set or not.
The kubernetes ResourceList has helper functions that return a 0 value even if the ResourceList value is "not set". So "nil" checks for ResourceList are really useless. This PR removes the usage of helper functions and uses underlying maps directly to determine whether the value is set or not.