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
3b3a28f3
"examples/api_client.py" did not exist on "057daef778ec4e951841f44afda1cd0b1eb50ee4"
Commit
3b3a28f3
authored
Oct 28, 2025
by
songlinfeng
Browse files
fix cdi list count
parent
57228e38
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 @
3b3a28f3
...
@@ -82,7 +82,7 @@ func (m command) run(c *cli.Context, cfg *config) error {
...
@@ -82,7 +82,7 @@ func (m command) run(c *cli.Context, cfg *config) error {
}
}
devices
:=
registry
.
ListDevices
()
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
{
for
_
,
device
:=
range
devices
{
fmt
.
Printf
(
"%s
\n
"
,
device
)
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