mirror of
https://github.com/uqbar-dao/nectar.git
synced 2025-01-01 13:05:00 +03:00
Format Rust code using rustfmt
This commit is contained in:
parent
96c36ac62c
commit
2352a068f8
@ -1326,27 +1326,30 @@ async fn handle_kernel_request(
|
||||
.await
|
||||
.unwrap();
|
||||
// fire an error back
|
||||
send_to_loop.send(t::KernelMessage {
|
||||
id: km.id,
|
||||
source: t::Address {
|
||||
node: our_name.clone(),
|
||||
process: KERNEL_PROCESS_ID.clone(),
|
||||
},
|
||||
target: km.source,
|
||||
rsvp: None,
|
||||
message: t::Message::Response((
|
||||
t::Response {
|
||||
ipc: Some(
|
||||
serde_json::to_string(&t::KernelResponse::StartProcessError)
|
||||
.unwrap(),
|
||||
),
|
||||
metadata: None,
|
||||
send_to_loop
|
||||
.send(t::KernelMessage {
|
||||
id: km.id,
|
||||
source: t::Address {
|
||||
node: our_name.clone(),
|
||||
process: KERNEL_PROCESS_ID.clone(),
|
||||
},
|
||||
None,
|
||||
)),
|
||||
payload: None,
|
||||
signed_capabilities: None,
|
||||
}).await.unwrap();
|
||||
target: km.source,
|
||||
rsvp: None,
|
||||
message: t::Message::Response((
|
||||
t::Response {
|
||||
ipc: Some(
|
||||
serde_json::to_string(&t::KernelResponse::StartProcessError)
|
||||
.unwrap(),
|
||||
),
|
||||
metadata: None,
|
||||
},
|
||||
None,
|
||||
)),
|
||||
payload: None,
|
||||
signed_capabilities: None,
|
||||
})
|
||||
.await
|
||||
.unwrap();
|
||||
return;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user