Implement native inventory manager workflows (#62)
This commit is contained in:
@@ -359,9 +359,10 @@ async fn run_seed_requests(weak: Weak<CapsInner>, cancellation: CancellationToke
|
||||
let Some(simulator) = inner.simulator() else {
|
||||
return;
|
||||
};
|
||||
if !simulator.native_is_connected() {
|
||||
return;
|
||||
}
|
||||
// Seed discovery is HTTP-only. It is valid for composed/fake clients
|
||||
// to install a simulator and query capabilities before a UDP circuit
|
||||
// is started, and tying this request to UDP connectivity creates an
|
||||
// unnecessary race for every capability-backed manager.
|
||||
let http = simulator.client.native_http_caps_client();
|
||||
let response = http
|
||||
.post_with_uri_osd_format_osd_cancellation_token_i_progress(
|
||||
|
||||
Reference in New Issue
Block a user