Update CDI dependency to v0.8.1.
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
This commit is contained in:
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@@ -881,7 +881,7 @@ sigs.k8s.io/structured-merge-diff/v4/value
|
||||
## explicit; go 1.12
|
||||
sigs.k8s.io/yaml
|
||||
sigs.k8s.io/yaml/goyaml.v2
|
||||
# tags.cncf.io/container-device-interface v0.8.0
|
||||
# tags.cncf.io/container-device-interface v0.8.1
|
||||
## explicit; go 1.20
|
||||
tags.cncf.io/container-device-interface/internal/validation
|
||||
tags.cncf.io/container-device-interface/internal/validation/k8s
|
||||
|
||||
8
vendor/tags.cncf.io/container-device-interface/pkg/cdi/cache.go
generated
vendored
8
vendor/tags.cncf.io/container-device-interface/pkg/cdi/cache.go
generated
vendored
@@ -564,6 +564,14 @@ func (w *watch) update(dirErrors map[string]error, removed ...string) bool {
|
||||
update bool
|
||||
)
|
||||
|
||||
// If we failed to create an fsnotify.Watcher we have a nil watcher here
|
||||
// (but with autoRefresh left on). One known case when this can happen is
|
||||
// if we have too many open files. In that case we always return true and
|
||||
// force a refresh.
|
||||
if w.watcher == nil {
|
||||
return true
|
||||
}
|
||||
|
||||
for dir, ok = range w.tracked {
|
||||
if ok {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user