"vscode:/vscode.git/clone" did not exist on "7a47df22a5db7366f83a943ea5f56f509a9a0330"
Commit 3b3a28f3 authored by songlinfeng's avatar songlinfeng
Browse files

fix cdi list count

parent 57228e38
...@@ -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)
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment