mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-06-26 18:18:24 +00:00
Bump tags.cncf.io/container-device-interface from 0.8.0 to 0.8.1
Bumps [tags.cncf.io/container-device-interface](https://github.com/cncf-tags/container-device-interface) from 0.8.0 to 0.8.1. - [Release notes](https://github.com/cncf-tags/container-device-interface/releases) - [Commits](https://github.com/cncf-tags/container-device-interface/compare/v0.8.0...v0.8.1) --- updated-dependencies: - dependency-name: tags.cncf.io/container-device-interface dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@@ -92,7 +92,7 @@ gopkg.in/yaml.v3
|
||||
# sigs.k8s.io/yaml v1.3.0
|
||||
## explicit; go 1.12
|
||||
sigs.k8s.io/yaml
|
||||
# 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