1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-15 04:57:56 +00:00

Merge pull request #641 from marquiz/fixes/typo

pkg/resourcemonitor: fix typo in comment
This commit is contained in:
Kubernetes Prow Robot 2021-11-05 08:07:53 -07:00 committed by GitHub
commit 30f641847e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,7 +71,7 @@ func (resMon *PodResourcesScanner) isWatchable(podNamespace string, podName stri
return resMon.namespace == podNamespace && (isIntegralGuaranteed || hasDevice), isIntegralGuaranteed, nil 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) // 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. // and hence we only check for request in the function below.
func hasExclusiveCPUs(pod *v1.Pod) bool { func hasExclusiveCPUs(pod *v1.Pod) bool {