"examples/api_client.py" did not exist on "057daef778ec4e951841f44afda1cd0b1eb50ee4"
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