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:
commit
30f641847e
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue