mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
![]() Doing strings.Split with a non-empty separator against a potentially empty string (hint.NUMAs) may return an empty string in a slice of size one, which then doesn't parse nicely with ParseInt and results in a repeating warning. It is better to check for hint.NUMAs emptiness before trying to split it. Signed-off-by: Ukri Niemimuukko <ukri.niemimuukko@intel.com> |
||
---|---|---|
.. | ||
apis/fpga.intel.com | ||
client | ||
deviceplugin | ||
fpga | ||
topology |