Browse Source

discovery: use a more direct and less error-prone return value

Signed-off-by: pinglanlu <pinglanlu@outlook.com>
pull/15347/head
pinglanlu 2 weeks ago
parent
commit
7f6a85c596
  1. 3
      discovery/uyuni/uyuni.go

3
discovery/uyuni/uyuni.go

@ -205,9 +205,6 @@ func getEndpointInfoForSystems(
err := rpcclient.Call(
"system.monitoring.listEndpoints",
[]interface{}{token, systemIDs}, &endpointInfos)
if err != nil {
return nil, err
}
return endpointInfos, err
}

Loading…
Cancel
Save