Skip to content

Commit 602c093

Browse files
committed
Fix docstring whitespace
Signed-off-by: Evan Lezar <[email protected]>
1 parent cddb43f commit 602c093

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pkg/cdi/doc.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
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:
@@ -169,14 +169,14 @@
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()
@@ -206,14 +206,14 @@
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()

0 commit comments

Comments
 (0)