File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 9797// )
9898//
9999// func injectCDIDevices(spec *specs.Spec, devices []string) error {
100- // cache := cdi.GetDefaultCache()
100+ // cache := cdi.GetDefaultCache()
101101//
102102// if err := cache.Refresh(); err != nil {
103103// // Note:
169169// Generating a Spec file for a vendor/device class can be done with a
170170// code snippet similar to the following:
171171//
172- // import (
172+ // import (
173173//
174174// "fmt"
175175// ...
176176// "tags.cncf.io/container-device-interface/specs-go"
177177// "tags.cncf.io/container-device-interface/pkg/cdi"
178178//
179- // )
179+ // )
180180//
181181// func generateDeviceSpecs() error {
182182// cache := specs.GetDefaultCache()
206206// They are typically created before the associated container is created
207207// and removed once that container is removed.
208208//
209- // import (
209+ // import (
210210//
211211// "fmt"
212- //
212+ // ...
213213// "tags.cncf.io/container-device-interface/specs-go"
214214// "tags.cncf.io/container-device-interface/pkg/cdi"
215215//
216- // )
216+ // )
217217//
218218// func generateTransientSpec(ctr Container) error {
219219// cache := specs.GetDefaultCache()
You can’t perform that action at this time.
0 commit comments