api: let Identify return multiple identities (#32949)
This commit is contained in:
parent
0ae85295dc
commit
0be2e0d803
51 changed files with 318 additions and 200 deletions
|
|
@ -470,7 +470,7 @@ func testInstance(ctx context.Context, instance any) map[string]testResult {
|
|||
wg.Go(func() {
|
||||
if dev, ok := api.Cap[api.Identifier](instance); ok {
|
||||
val, err := dev.Identify()
|
||||
makeResult("identifier", val, err)
|
||||
makeResult("identifier", strings.Join(val, ", "), err)
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue