Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
songlinfeng
container-toolkit
Commits
ab88ea6a
Commit
ab88ea6a
authored
Oct 28, 2025
by
songlinfeng
💬
Browse files
Update list.go
parent
52b070c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cmd/dtk-ctk/cdi/list/list.go
cmd/dtk-ctk/cdi/list/list.go
+1
-1
No files found.
cmd/dtk-ctk/cdi/list/list.go
View file @
ab88ea6a
...
...
@@ -82,7 +82,7 @@ func (m command) run(c *cli.Context, cfg *config) error {
}
devices
:=
registry
.
ListDevices
()
m
.
logger
.
Infof
(
"Found %d CDI devices"
,
len
(
devices
))
m
.
logger
.
Infof
(
"Found %d CDI devices"
,
len
(
devices
)
/
2
)
for
_
,
device
:=
range
devices
{
fmt
.
Printf
(
"%s
\n
"
,
device
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment