1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-28 02:37:11 +00:00

pkg/resourcemonitor: fix typo in comment

This commit is contained in:
Markus Lehtonen 2021-11-05 16:42:49 +02:00
parent 376174ff41
commit 25711799f3

View file

@ -71,7 +71,7 @@ func (resMon *PodResourcesScanner) isWatchable(podNamespace string, podName stri
return resMon.namespace == podNamespace && (isIntegralGuaranteed || hasDevice), isIntegralGuaranteed, nil
}
// hasExclusiveCPUs returns true if a guranteed pod is allocated exclusive CPUs else returns false.
// hasExclusiveCPUs returns true if a guaranteed pod is allocated exclusive CPUs else returns false.
// In isWatchable() function we check for the pod QoS and proceed if it is guaranteed (i.e. request == limit)
// and hence we only check for request in the function below.
func hasExclusiveCPUs(pod *v1.Pod) bool {